Juerd Waalboer wrote:
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:

    /^(?!/~)/

In fact it is. :-) I didn't know about that construct, and it's exactly what I need. Thanks!

Regards,
Sebastiaan


--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to