Sebastiaan van Erk skribis 2009-03-09 17:04 (+0100):
> As for the complement of /~ it's not /[^~]... I forgot the empty string
> case... /($|[^~]) should be correct I think, but ! /~ would be so much
> nicer. :)
If your pound was compiled with PCRE, you can use the (?!...) construct:
/^(?!/~)/
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <##[email protected]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[email protected]>
1;
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.