Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Regex match inside quotes doesn't work

by Anonymous Monk
on Sep 09, 2013 at 09:32 UTC ( #1052990=note: print w/ replies, xml ) Need Help??


in reply to Regex match inside quotes doesn't work

... Any help is highly welcome!

perlfaq6#How can I hope to use regular expressions without creating illegible and unmaintainable code?

tip#1, don't add [] around simple backslash character classes, they're already character classes, they don't need extra []

tip#2, quotemeta, because regex aren't strings they're regex

Basic debugging checklist item 4 ( Dumper )

rxrx


Comment on Re: Regex match inside quotes doesn't work
Select or Download Code
Replies are listed 'Best First'.
Re^2: Regex match inside quotes doesn't work
by tobias_hofer (Friar) on Sep 09, 2013 at 10:26 UTC
    Yes.. super!
    Sorry that i forgot to comment the regex!

    Thanks a lot!
    Tobias

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-30 01:15 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 (269 votes), past polls