Do you know where your variables are? | |
PerlMonks |
Re: Deriving Regular Expressionsby japhy (Canon) |
on Apr 18, 2002 at 21:27 UTC ( [id://160350]=note: print w/replies, xml ) | Need Help?? |
You might want to do s/\d/\\d/g before you do s/\w/\\w/g... \w includes \d. As for the process of generating regexes from strings, I don't go near it.
_____________________________________________________
In Section
Meditations
|
|