Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 about the Monastery: (15)
As of 2015-07-28 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls