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

Re^2: Unrecognized escape \Q passed through in regex

by Articuno (Beadle)
on Jan 26, 2006 at 19:03 UTC ( #525821=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl  -e 'use warnings; $teste=q(\Qfoo\E);print 42 if "(foo" =~ m/\b$t
    +este\b/'
    
  2. or download this
    perl -e '$x =  q(\b); $y = "$x"; print $y'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://525821]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-10-20 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (267 votes). Check out past polls.

    Notices?