Rob Dixon schreef:
> 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.

Not another matter, just another interpretation. A "single quote" is
what is left from q{'''} when you dealt with the first "two quotes".
Also see how Jay made the switch from "two quotes" to "double quotes".

I like these "you are what you read" happenings. Let's wait for scooter.

-- 
Affijn, Ruud

"Gewoon is een tijger."


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


Reply via email to