[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unquoted special characters in regexps
From: |
Luc Teirlinck |
Subject: |
Re: Unquoted special characters in regexps |
Date: |
Sun, 26 Feb 2006 11:19:43 -0600 (CST) |
Martin Rudalics wrote:
I didn't care about `]'s closing a character alternative. I did care
about `]'s appearing in regular expressions _outside_ a character
alternative and meant to match the character `]'. Such `]'s should be
quoted just like `.', `*', `+', `?', `[', `^', `$', and `\'.
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.
Sincerely,
Luc.
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Unquoted special characters in regexps, Richard Stallman, 2006/03/04
- Re: Unquoted special characters in regexps, Luc Teirlinck, 2006/03/01
- Re: Unquoted special characters in regexps, Richard Stallman, 2006/03/02
- Re: Unquoted special characters in regexps, Luc Teirlinck, 2006/03/02
- Re: Unquoted special characters in regexps, Richard Stallman, 2006/03/02
Re: Unquoted special characters in regexps, martin rudalics, 2006/03/02