Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Patterns

by insensate (Hermit)
on Feb 05, 2003 at 07:00 UTC ( [id://232748]=note: print w/replies, xml ) Need Help??


in reply to Problem with regex

From the start I can see that you've included _ in your character classes when I think you want it to precede the class...
/^ep_svr_\d+_\w{3}_\w{3}_.+$/;
Update: The code tags weren't in when i diagnosed the problem...but the code should still fit the bill ;^)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-16 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found