1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 15:22:20 -07:00
emacs/test/src
Mattias Engdegård 770f76f050 Remove subsumed repetitions in regexps
Make regexps smaller and faster by removing terms that are superfluous
by virtue of standing next to another term that matches more.  See
https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00949.html
for details.

* lisp/bs.el (bs--make-header-match-string):
* lisp/gnus/deuglify.el (gnus-outlook-repair-attribution-block):
* lisp/gnus/message.el (message-subject-trailing-was-ask-regexp)
(message-subject-trailing-was-regexp):
* lisp/informat.el (Info-validate):
* lisp/net/browse-url.el (browse-url-button-regexp):
* lisp/net/rcirc.el (rcirc-url-regexp):
* lisp/org/ob-core.el (org-babel-remove-result):
* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
* lisp/org/org-capture.el (org-capture-set-target-location):
* lisp/org/org-table.el (org-table-expand-lhs-ranges):
* lisp/org/org.el (org-maybe-keyword-time-regexp, org-ts-regexp)
(org-ts-regexp-inactive, org-ts-regexp-both):
* lisp/play/gametree.el (gametree-hack-file-layout):
* lisp/progmodes/cc-mode.el (c-Java-defun-prompt-regexp):
* lisp/progmodes/idlw-shell.el (idlwave-shell-halting-error):
* lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
* lisp/progmodes/verilog-mode.el (verilog-error-font-lock-keywords)
(verilog-verilint-off, verilog-case-indent-level)
(verilog-within-translate-off, verilog-start-translate-off)
(verilog-back-to-start-translate-off, verilog-end-translate-off)
(verilog-expand-dirnames):
* lisp/term.el (term-control-seq-regexp):
* lisp/textmodes/reftex-vars.el (featurep):
* lisp/url/url-gw.el (url-open-telnet):
* lisp/vc/ediff-ptch.el (ediff-context-diff-label-regexp):
* lisp/vc/pcvs-parse.el (cvs-parse-status):
* test/src/regex-emacs-tests.el (regex-tests-PCRE):
Remove subsumed repetitions.
* lisp/progmodes/sh-script.el (sh-syntax-propertize-function):
Simplify repetition of a repetition.
2020-02-20 16:05:18 +01:00
..
regex-resources
alloc-tests.el Fix crash when sending Gnus message (Bug#39207) 2020-01-22 23:44:34 -08:00
buffer-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callint-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callproc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
casefiddle-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
charset-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
chartab-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cmds-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
coding-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
data-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
decompress-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doc-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
editfns-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-module-tests.el Also print function data when printing module functions. 2020-01-05 16:07:28 +01:00
eval-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fileio-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
floatfns-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fns-tests.el Fix sxhash-equal on bytecodes, markers, etc. 2020-01-07 11:29:42 -08:00
font-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inotify-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
keyboard-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keymap-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lcms-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lread-tests.el Remove lread tests for a feature that was deleted 2020-02-14 11:10:55 -08:00
marker-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
minibuf-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
print-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
process-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regex-emacs-tests.el Remove subsumed repetitions in regexps 2020-02-20 16:05:18 +01:00
syntax-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
textprop-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
timefns-tests.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
undo-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