Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Regex: What does ?k: mean?

by haukex (Archbishop)
on Feb 24, 2017 at 15:40 UTC ( [id://1182741]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex: What does ?k: mean?
in thread Regex: What does ?k: mean?

For the curious (like me), the specific code that implements this appears to be:

if (exists $flags{-keep}) { $pat =~ s/\Q(?k:/(/g; } else { $pat =~ s/\Q(?k:/(?:/g; }

Update: Added link

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-25 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found