Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-10-22 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls