Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Don't ask to ask, just ask
 
PerlMonks  

Re: qr/STRING/ fails with certain lookbehind expressions

by Corion (Pope)
on Jul 19, 2013 at 10:28 UTC ( #1045327=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /(?<!ss)/i
    
  2. or download this
    /(?<!▀|ss)/i
    
  3. or download this
        ▀tabc
       SSTABC
        STABC
    
  4. or download this
    /(?<!s)tart/i ;
    
    /(?<![Ss])[Tt][Aa][Rr][Tt]/ ;
    
  5. or download this
    my $not_s= qr/(?<![Ss])/; # no explicit /i here, will never match insi
    +de ▀
    my $rest= qr/abc/i;
    my $pattern= "$not_s$rest";
    
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-04-20 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls