[ attaching this comment to a random message in the thread..]
On Thu, Jul 21, 2005 at 12:28:45AM +0200, Kjetil Torgrim Homme wrote:
Modifier ":quoteregex"
Every character with special meaning for :regex (".", "*", "?"
etc.) is prefixed with "\" in the expansion. This modifier is
only available when the "regex" extension is in effect.
Do we want to more specifically say something like "Ensures that "
[ ...every character with special meaning is prefixed with "\" ... ],
i.e. if a character is already quoted, we don't want another quote
character to be added
Absolutely not. We want all characters quoted, including quoting
characters. If you don't do this a literal sequence like "\*" ends
up matching a "*", not "\*" as it should. We want "\*" to become
"\\\*" so it matches "\*".
(otherwise the quoted character would become
unquoted, a literal quote character would be added, etc).
That's not what happens. See above.
Ned