Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Regular expression for a comma separated string

by wjw (Priest)
on Nov 23, 2014 at 23:45 UTC ( [id://1108198]=note: print w/replies, xml ) Need Help??


in reply to Regular expression for a comma separated string

What I generally do with such problems is break them into individual requirements in my code, then later attempt to put it all in one statement if possible/desired(I usually don't desire it).

So it becomes a check and pass unless fail sequence of statements in my code. It is a lot easier for me to trouble-shoot that way. Those who are great at RegEx's may snicker at this approach, but hey, it works and I find it a lot less frustrating..

Hope that is helpful...

...the majority is always wrong, and always the last to know about it...

Insanity: Doing the same thing over and over again and expecting different results...

A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is simply an inconvenient fact

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found