|
From: | martin rudalics |
Subject: | Re: Unquoted special characters in regexps |
Date: | Mon, 27 Feb 2006 21:03:08 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
However, it does play a special role in the syntax of regexps, and it is not necessarily a bad thing for users to think of it as a special character.There are more characters like this, ie. ':' and '-', which both play a special role in character sets, but not elsewhere.
My Emacs has (regexp-quote "]") => "\\]" (regexp-quote "-") => "-" (regexp-quote ":") => ":" I do like my Emacs.
[Prev in Thread] | Current Thread | [Next in Thread] |