yitzle schreef:
> John:

>> [m/a (?:black|grey|white) cat/]
>> Will match one of these: [...]
>>  - "a  cat" (please note two spaces)
>
> Correction: Will not match "a  cat"
> That requires: m/a (?:black|grey|white)? cat/;


or  /a (?:black|grey|white|) cat/;

(Yitzle, please note how I redacted this message. Never quote text that
is no longer relevant. Aim for the minmal amount of context that your
reply needs.)

-- 
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