1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/test/lisp
Mattias Engdegård 49d3cd90bd rx: Improve 'or' compositionality (bug#37659)
Perform 'regexp-opt' on nested 'or' forms, and after expansion of
user-defined and 'eval' forms.  Characters are now turned into strings
for wider 'regexp-opt' scope.  This preserves the longest-match
semantics for string in 'or' forms over composition.

* doc/lispref/searching.texi (Rx Constructs): Document.
* lisp/emacs-lisp/rx.el (rx--normalise-or-arg)
(rx--all-string-or-args): New.
(rx--translate-or): Normalise arguments first, and check for strings
in subforms.
(rx--expand-eval): Extracted from rx--translate-eval.
(rx--translate-eval): Call rx--expand-eval.
* test/lisp/emacs-lisp/rx-tests.el (rx-or, rx-def-in-or): Add tests.
* etc/NEWS: Announce.
2020-03-01 10:47:14 +01:00
..
bookmark-resources Add tests for bookmark.el (Bug#36452) 2019-07-03 14:49:38 +03:00
calc Update copyright year to 2020 2020-01-01 00:59:52 +00:00
calendar Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cedet Fix copyright years by hand 2020-01-01 01:01:53 +00:00
custom-resources New test custom--test-theme-variables 2019-01-10 13:27:34 +01:00
emacs-lisp rx: Improve 'or' compositionality (bug#37659) 2020-03-01 10:47:14 +01:00
emulation Update copyright year to 2020 2020-01-01 00:59:52 +00:00
erc Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eshell Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus Update copyright year to 2020 2020-01-01 00:59:52 +00:00
image Update copyright year to 2020 2020-01-01 00:59:52 +00:00
international Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mail Update copyright year to 2020 2020-01-01 00:59:52 +00:00
net Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nxml Update copyright year to 2020 2020-01-01 00:59:52 +00:00
obsolete Update copyright year to 2020 2020-01-01 00:59:52 +00:00
org Update copyright year to 2020 2020-01-01 00:59:52 +00:00
play Update copyright year to 2020 2020-01-01 00:59:52 +00:00
progmodes Make OMake support slightly less expensive (bug#39595) 2020-02-17 11:23:41 +01:00
so-long-tests Update copyright year to 2020 2020-01-01 00:59:52 +00:00
term Update copyright year to 2020 2020-01-01 00:59:52 +00:00
textmodes Update copyright year to 2020 2020-01-01 00:59:52 +00:00
url Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vc Update copyright year to 2020 2020-01-01 00:59:52 +00:00
abbrev-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
arc-mode-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
auth-source-pass-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
auth-source-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
autoinsert-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
autorevert-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bookmark-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
buff-menu-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
button-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
char-fold-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
color-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
comint-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
custom-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dabbrev-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
delim-col-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
descr-text-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired-aux-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired-x-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dom-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
electric-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
epg-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
faces-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ffap-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
filenotify-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
files-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
files-x-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
font-lock-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
format-spec-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
help-fns-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
help-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hi-lock-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
htmlfontify-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ibuffer-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ido-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
image-file-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
image-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
imenu-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
info-xref-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
isearch-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
jit-lock-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
json-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
jsonrpc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
kmacro-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ls-lisp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
makesum-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
man-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
md4-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
minibuffer-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mouse-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
obarray-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
paren-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
password-cache-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ps-print-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
register-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
replace-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rot13-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
scroll-lock-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ses-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shadowfile-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shell-tests.el Fix shell-tests failures 2020-01-20 15:52:27 +01:00
simple-tests.el * test/lisp/simple-tests.el: Full path to Emacs binary (bug#39067). 2020-01-20 14:27:38 +01:00
sort-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
soundex-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
subr-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tabify-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tar-mode-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tempo-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
term-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
thingatpt-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
thread-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
time-stamp-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
timezone-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
wdired-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
whitespace-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
wid-edit-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xdg-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xml-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xt-mouse-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00