Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Deriving Regular Expressions

by japhy (Canon)
on Apr 18, 2002 at 21:27 UTC ( [id://160350]=note: print w/replies, xml ) Need Help??


in reply to Deriving Regular Expressions

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.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-25 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found