[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Regexp compiler, problem with character classes
From: |
Richard Stallman |
Subject: |
Re: [BUG] Regexp compiler, problem with character classes |
Date: |
Thu, 14 Sep 2006 23:14:25 -0400 |
[I sent this message a week ago but did not get a response.]
(with-temp-buffer
(list
(progn (modify-syntax-entry ?a " ")
(string-match "x[[:space:]]" "xa"))
(progn (modify-syntax-entry ?a "w")
(string-match "x[[:space:]]" "xa"))))
=> (0 0)
The easiest way to fix that bug
is to make each element of the compiled regexp cache
specify the syntax table that it corresponds to,
and make modify-syntax-entry clear the cache.
That way, no change in regex.c is needed.
Could someone please do this and then ack?
- Re: [BUG] Regexp compiler, problem with character classes, (continued)
- Re: [BUG] Regexp compiler, problem with character classes, Richard Stallman, 2006/09/07
- Re: [BUG] Regexp compiler, problem with character classes, Chong Yidong, 2006/09/14
- Re: [BUG] Regexp compiler, problem with character classes, Richard Stallman, 2006/09/15
- Re: [BUG] Regexp compiler, problem with character classes, Chong Yidong, 2006/09/15
- Re: [BUG] Regexp compiler, problem with character classes, Johan Bockgård, 2006/09/18
- Re: [BUG] Regexp compiler, problem with character classes, Chong Yidong, 2006/09/18
- Re: [BUG] Regexp compiler, problem with character classes, Stefan Monnier, 2006/09/18
- Re: [BUG] Regexp compiler, problem with character classes, Johan Bockgård, 2006/09/18
- Re: [BUG] Regexp compiler, problem with character classes,
Richard Stallman <=