Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (18)
As of 2014-09-02 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls