[Top][All Lists]
[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:01:00 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> Martin Rudalics wrote:
>
> Such `]'s should be quoted just like `.', `*', `+', `?', `[', `^',
> `$', and `\'.
>
> Even if that _would_ be true, `]' should _not_ be quoted as "\\]" but as
> "[]]", as I pointed out earlier. We are talking about Elisp, not AWK.
The Elisp manual clearly states that "Any other character appearing in a
regular expression is ordinary, unless a `\' precedes it." Hence,
quoting with a backslash is the canonical method in Elisp.
martin, who doesn't talk AWK.
- Re: Unquoted special characters in regexps, (continued)
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/26
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/26
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/28
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps,
martin rudalics <=