Mathew schreef:

> I had tried this
>
> /^[.]$|^[..]$/ but had been getting errors about Posix.  I'm not at
> the same system or even same OS now so I can't reproduce though.

[..] is equal to [.], like [aaaabbbbcccccbbbaaa] is equal to [a-c].

See `perldoc perlre`.

-- 
Affijn, Ruud

"Gewoon is een tijger."



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


Reply via email to