Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 examining the Monastery: (14)
As of 2015-07-02 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls