On Fri, 15 Jun 2001 06:52:32 -0400, Bryan C. Warnock wrote:

>On a side note (and this *will* sound stupid, but there is a reason I'm 
>asking).  Why is there no logical opposite to '.'; that is, a character 
>which never matches another character?  (Besides, of course, that it's 
>utterly useless from a classic regex perspective.)

You mean, like

        (?!)

?

Actually that's a lookahead that always fails.

For single byte character sets, there's also

        [^\000-\377]

-- 
        Bart.

Reply via email to