Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: regex help required

by space_monk (Chaplain)
on Jun 24, 2013 at 09:36 UTC ( #1040407=note: print w/ replies, xml ) Need Help??

in reply to regex help required

You have inadequately said what you are looking for in your answer. The following will match all the above possible combinations in $result, but I strongly suspect that it is not what you want

my $result = $string;
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

Comment on Re: regex help required
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-12-01 02:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls