[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Unquoted special characters in regexps]
From: |
Eli Zaretskii |
Subject: |
Re: address@hidden: Unquoted special characters in regexps] |
Date: |
Fri, 03 Mar 2006 14:20:46 +0200 |
> Date: Sat, 25 Feb 2006 18:23:04 +0100
> From: martin rudalics <address@hidden>
> To: address@hidden
> Subject: Unquoted special characters in regexps
>
> Section 34.3.1.1 (Special Characters in Regular Expressions) of the
> Elisp manual says:
>
> *Please note:* For historical compatibility, special characters are
> treated as ordinary ones if they are in contexts where their special
> meanings make no sense. ... It is poor practice to depend on this
> behavior; quote the special character anyway, regardless of where it
> appears.
>
> The three patches below eliminate spurious occurrences of such practice:
>
> * font-lock.el (lisp-font-lock-keywords-2)
> * emacs-lisp/rx.el (rx-check-any, rx-check-not)
> * generic-x.el (reg-generic-mode): Quote "]"s in regexps when
> they have no special meaning.
Thanks, I installed these.
- Re: address@hidden: Unquoted special characters in regexps],
Eli Zaretskii <=