Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: regex compilation

by davido (Cardinal)
on Feb 12, 2019 at 17:57 UTC ( [id://1229827]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $regex1 = qr/(?:(?|(?:\")([^\\\"]*(?:\\.[^\\\"]*)*)(?:\")))/;
    my $regex2 = qq/(?:(?|(?:\")([^\\\"]*(?:\\.[^\\\"]*)*)(?:\")))/;
    
    print $regex1, "\n", qr/$regex2/, "\n";
    
  2. or download this
    (?^:(?:(?|(?:\")([^\\\"]*(?:\\.[^\\\"]*)*)(?:\"))))
    (?^:(?:(?|(?:")([^\"]*(?:\.[^\"]*)*)(?:"))))
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found