Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: How to strip comments and whitespace from a regex defined with /x?

by RonW (Parson)
on Jan 31, 2018 at 00:55 UTC ( #1208160=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to strip comments and whitespace from a regex defined with /x?
in thread How to strip comments and whitespace from a regex defined with /x?

Probably not easier, but possibly less ambiguous.

I wonder if constant regex's are compiled once during the compile phase. If so, would be useful if Deparse reconstructed the regex.

(Currently reading and posting from my tablet, so will try to remember to try to test this, later.)

  • Comment on Re^3: How to strip comments and whitespace from a regex defined with /x?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1208160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2019-06-20 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (91 votes). Check out past polls.

    Notices?