emacs/lisp/obsolete
Mattias Engdegård 67977ae597 Eliminate some nested repetitions in regexps
Nested repetitions such as (A*)* potentially take exponential time but
can usually be rewritten in a faster and more readable way without
much trouble.  These were all found by Relint.

* lisp/obsolete/terminal.el (te-parse-program-and-args):
* lisp/org/org.el (org-make-tags-matcher):
Apply the transform (A+B*)+ -> A(A|B)*

* lisp/textmodes/fill.el (adaptive-fill-regexp):
Apply the transform A*(B+A*)* -> (A|B)*

* lisp/progmodes/idlw-shell.el (idlwave-shell-filter):
Find the last newline or CR in a more direct way.

* lisp/progmodes/vhdl-mode.el (vhdl-port-copy, vhdl-subprog-copy):
Trim trailing whitespace from a string in a more direct way.
All-whitespace strings are left unchanged as before.
2023-10-29 17:40:36 +01:00
..
autoarg.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
autoload.el ; * lisp/obsolete/autoload.el (make-directory-autoloads): Doc fix. 2023-05-10 16:51:17 +03:00
bruce.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cc-compat.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cl-compat.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
crisp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eieio-compat.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eudcb-ph.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gs.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gulp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
html2text.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
info-edit.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
inversion.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
iswitchb.el ; Prefer HTTPS to HTTP in more links 2023-08-02 23:32:28 +02:00
landmark.el Correct many instances of ``allows to'' 2023-09-10 09:33:50 +08:00
linum.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
longlines.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
makesum.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mantemp.el Fix regexp bugs 2023-05-13 17:41:40 +02:00
meese.el
messcompat.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
metamail.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mh-compat.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
netrc.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
nnir.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
otodo-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg-def.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg-gpg.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg-parse.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg-pgp.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg-pgp5.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ps-def.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
quickurl.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcompile.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rfc2368.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rlogin.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sb-image.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
starttls.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sup-mouse.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
terminal.el Eliminate some nested repetitions in regexps 2023-10-29 17:40:36 +01:00
thumbs.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tls.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tpu-edt.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tpu-extras.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tpu-mapper.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
uce.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
url-about.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
url-dired.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
url-ns.el ; Silence warnings about obsolete functions 2023-09-03 11:47:01 +02:00
vc-arch.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vc-mtn.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vi.el
vip.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vt-control.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vt100-led.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ws-mode.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
yow.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00