Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: creating qr from existing regex

by AnomalousMonk (Archbishop)
on Feb 09, 2018 at 21:07 UTC ( [id://1208863]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $string = '/.*uba$/i';
    ...
     print 'A: match' if 'uba' =~ $re;
    "
    (?:i:.*uba$)
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $string = '/.*u\/ba$/i';
    ...
    A: match
    (?^msx: \A foo (?^:(?i).*u\/ba$) )
    B: match
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-16 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found