Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Unrecognized escape \Q passed through in regex

by HelenCr (Monk)
on Oct 13, 2012 at 07:59 UTC ( #998824=note: print w/ replies, xml ) Need Help??


in reply to Unrecognized escape \Q passed through in regex

I had the same problem. I think

$window =~ eval 'qr{'.$regexp.'}' ;

should work, and not produce the error.


Comment on Re: Unrecognized escape \Q passed through in regex
Download Code
Re^2: Unrecognized escape \Q passed through in regex
by Anonymous Monk on Oct 14, 2012 at 05:23 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-10-02 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls