emacs-devel
[Top][All Lists]
Advanced

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

Re: Unquoted special characters in regexps


From: martin rudalics
Subject: Re: Unquoted special characters in regexps
Date: Sun, 26 Feb 2006 19:13:31 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> To expand on my previous reply, you are arguing from a purely
> legalistic viewpoint here, based on an error in the manual.  The
> _purpose_ of quoting special characters even when they have no special
> meaning is make clear that they have no special meaning.  "\\]" does
> not clear up any confusion in situations where confusion could be
> possible, so it is completely meaningless.
>
> There is a mistake in the manual.  We should correct that mistake, not
> make meaningless, and even confusing, changes to code.

Do you really think that considering

(string-match "]" "]")

a valid Elisp expression and

(string-match "[" "[")

an invalid one is less confusing?






reply via email to

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