Dr.Ruud wrote:
"Jay Savage" schreef:
Corin Lawson wrote:

Can you not simply count the number of quotes mod 2?
No, you can't just count the number of quotes. An even number of
quotes doesn't mean they're all double quotes. Consider something like
q|a'b'c''d'e'f|.

I haven't read anywhere yet that the quotes should be touching.

Scooter is leaving us all speculating about his true requirement, but I
read his OP as meaning all single quotes should occur in (touching)
pairs, and any isolated single quote in the string is an error. Whether
or not groups of three or more are allowed is another matter.

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to