Don't ask to ask, just ask | |
PerlMonks |
Re^4: check if string is valid with special casesby ovedpo15 (Pilgrim) |
on May 15, 2018 at 11:09 UTC ( [id://1214543]=note: print w/replies, xml ) | Need Help?? |
Ok I understand, forget about commas in the substrings. your regex is good and its what I need except it doesn't handle an empty space case: "a,b,c, d,e" (bad case). how can I add it to the regex?
In Section
Seekers of Perl Wisdom
|
|