Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: qr/STRING/ fails with certain lookbehind expressions

by Corion (Patriarch)
on Jul 19, 2013 at 10:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1045327]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-18 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found