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

Re^2: Regex being stupid

by AI Cowboy (Sexton)
on Sep 19, 2013 at 03:20 UTC ( #1054766=note: print w/replies, xml ) Need Help??

in reply to Re: Regex being stupid
in thread Regex being stupid

Looks good, and I didn't know you can't use \w in the replacement part of s/. Also, the code fragment may have errors inside the quotes itself (I updated it however - thanks for pointing that out), but the quotes and the way the variable is set is not what actually happens in my code, it was just an attempt at speeding the question along to ask, basically, "you have a weird variable, grab email address nao".

Many thanks for your help, I will give it a try :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054766]
[davies]: LanX: No. The mayor of London would better be described as the transport commisar for London. S/h/it doesn't have a tenth of the power of La Sturgeon (and therefore does <10% of the damage).
[LanX]: xD ... complicated countrie(s)
LanX reigned by the Duke of Normandy
[davies]: LanX: Politicians making jobs for each other, really. Results in unnecessary complications and tax bills with up to 5 levels of Govt busily inventing new crimes for people to commit.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-12-15 18:22 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (441 votes). Check out past polls.