(rx-not): Bind case-fold-search to nil.
This commit is contained in:
parent
f800daf646
commit
062a9fce99
2 changed files with 6 additions and 1 deletions
|
@ -345,7 +345,8 @@ matches anything."
|
|||
(defun rx-not (form)
|
||||
"Parse and produce code from FORM. FORM is `(not ...)'."
|
||||
(rx-check form)
|
||||
(let ((result (rx-to-string (cadr form) 'no-group)))
|
||||
(let ((result (rx-to-string (cadr form) 'no-group))
|
||||
case-fold-search)
|
||||
(cond ((string-match "\\`\\[^" result)
|
||||
(if (= (length result) 4)
|
||||
(substring result 2 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue