Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Regex being stupid

by davido (Cardinal)
on Sep 19, 2013 at 03:06 UTC ( [id://1054762]=note: print w/replies, xml ) Need Help??


in reply to Regex being stupid

I didn't bother reading past "\s" in your regex. I don't see a space character appearing anywhere before the "@" in your target string, so of course it can't match.

Why do you say the regex is being stupid, when it's just doing what you're telling it to do (ie, reject matches on strings that don't have a space character before a word character before an "@" character)?


Dave

Log In?
Username:
Password:

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

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

    No recent polls found