emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug that needs fixing


From: Michael Welsh Duggan
Subject: Re: Bug that needs fixing
Date: Fri, 15 Jul 2005 20:51:53 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Jason Rumney <address@hidden> writes:

> Shouldn't all responses that do not start with a status code be ignored?
>
> ie
>
> "^[^1-9][^0-9][^0-9]"

Be careful when negating regexps, as this is seldom as easy as it
seems.  An actual negation of "^[1-9][1-9][1-9]" would be:
"^\\([^1-9]\\|[1-9][^1-9]\\|[1-9][1-9][^1-9]\\)".

-- 
Michael Welsh Duggan
(address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]