Think about Loose Coupling | |
PerlMonks |
Re: validating a quoted stringby Corion (Patriarch) |
on Jan 13, 2016 at 13:44 UTC ( [id://1152677]=note: print w/replies, xml ) | Need Help?? |
How does your regular expression fail? A first step would be to explain the regular expression and tell us in English words what ([.]?) is supposed to do. Ideally, describe in English what the complete regular expression should do.
Update: I misread part of the problem:
So that would imply that simply checking for an even number of double quotes is the simplest part.
In Section
Seekers of Perl Wisdom
|
|