Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by ikegami (Pope)
on Jan 26, 2006 at 19:31 UTC ( #525825=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Unrecognized escape \Q passed through in regex
in thread Unrecognized escape \Q passed through in regex

quotemeta should be easy to implement in any language. Adding a slash in front of any characters other than [a-zA-Z0-9] should do the trick.


Comment on Re^5: Unrecognized escape \Q passed through in regex
Replies are listed 'Best First'.
Re^6: Unrecognized escape \Q passed through in regex
by Articuno (Beadle) on Jan 26, 2006 at 19:57 UTC
    Ok... You won :-)
    (somehow i was thinking that there could be a problem with that... but now it's clear that it's safe ^_^;;; )
    -- 6x9=42

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-29 07:38 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 (260 votes), past polls