1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00
emacs/lisp/net
Mattias Engdegård 26f735ff19 Add standard unmatchable regexp
Add `regexp-unmatchable' as a standard unmatchable regexp, defined as
"\\`a\\`".  Use it where such a regexp is needed, replacing slower
expressions in several places.
From a suggestion by Philippe Schnoebelen.

* lisp/subr.el (regexp-unmatchable): New defconst.
* etc/NEWS (Lisp Changes): Mention `regexp-unmatchable'.
* doc/lispref/searching.texi (Regexp Functions): Document it.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt)
* lisp/progmodes/cc-defs.el (cc-conditional-require-after-load)
(c-make-keywords-re)
* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1)
(c-forward-<>-arglist-recur, c-forward-decl-or-cast-1)
(c-looking-at-decl-block)
* lisp/progmodes/cc-fonts.el (c-doc-line-join-re)
(c-doc-bright-comment-start-re)
* lisp/progmodes/cc-langs.el (c-populate-syntax-table)
(c-assignment-op-regexp)
(c-block-comment-ender-regexp, c-font-lock-comment-end-skip)
(c-block-comment-start-regexp, c-line-comment-start-regexp)
(c-doc-comment-start-regexp, c-decl-start-colon-kwd-re)
(c-type-decl-prefix-key, c-type-decl-operator-prefix-key)
(c-pre-id-bracelist-key, c-enum-clause-introduction-re)
(c-nonlabel-token-2-key)
* lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end)
* lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
(c-noise-macro-name-re, c-make-noise-macro-regexps)
* lisp/progmodes/octave.el (octave-help-mode)
* lisp/vc/vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-revision-completion-table)
* lisp/vc/vc-git.el (vc-git-log-view-mode)
* lisp/vc/vc-hg.el (vc-hg-log-view-mode)
* lisp/vc/vc-mtn.el (vc-mtn-log-view-mode):
Use `regexp-unmatchable'.
* lisp/textmodes/ispell.el (ispell-non-empty-string):
Use `regexp-unmatchable', fixing a broken never-match regexp.
2019-05-15 18:55:27 +02:00
..
ange-ftp.el Add standard unmatchable regexp 2019-05-15 18:55:27 +02:00
browse-url.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dbus.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dig.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dns.el Avoid using obsolete accept-process-output arg 2019-01-15 14:09:11 -08:00
eudc-bob.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eudc-export.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eudc-hotlist.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eudc-vars.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eudc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eudcb-bbdb.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eudcb-ldap.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
eudcb-mab.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eww.el Make eww understand #fragment URLs at point interactively 2019-05-13 15:45:52 -04:00
gnutls.el Check for client certificates when using GnuTLS 2019-01-24 11:36:47 +01:00
goto-addr.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
hmac-def.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hmac-md5.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
imap.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
ldap.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mailcap.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mairix.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
net-utils.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
netrc.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
network-stream.el Avoid byte-compiler warning in starttls.el 2019-01-24 17:01:20 +02:00
newst-backend.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
newst-plainview.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
newst-reader.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
newst-ticker.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
newst-treeview.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
newsticker.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
nsm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ntlm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pop3.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
puny.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
quickurl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rcirc.el * lisp/net/rcirc.el: Undo previous change; it was a typo. 2019-03-07 10:44:22 -08:00
rfc2104.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rlogin.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sasl-cram.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sasl-digest.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sasl-ntlm.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sasl-scram-rfc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sasl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
secrets.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
shr-color.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
shr.el Make image scaling work without imagemagick support in eww 2019-05-15 02:53:56 +02:00
sieve-manage.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sieve-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sieve.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
snmp-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
soap-client.el Simplify use of encode-time 2019-02-10 23:54:35 -08:00
soap-inspect.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
socks.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
telnet.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tramp-adb.el Fix an error in tramp-vc-file-name-handler 2019-05-09 14:24:22 +02:00
tramp-archive.el Handle quoted file names in tramp-archive.el 2019-04-26 12:31:50 +02:00
tramp-cache.el Use proper read syntax for all function names in Tramp 2019-02-28 10:33:05 +01:00
tramp-cmds.el Use proper read syntax for all function names in Tramp 2019-02-28 10:33:05 +01:00
tramp-compat.el Use lambda in tramp-compat-* functions 2019-05-06 12:04:24 +02:00
tramp-ftp.el Use proper read syntax for all function names in Tramp 2019-02-28 10:33:05 +01:00
tramp-gvfs.el Notify broken file notification from Tramp 2019-05-04 22:29:27 +02:00
tramp-integration.el Fix Bug#34943 2019-03-23 09:55:04 +01:00
tramp-rclone.el Use proper read syntax for all function names in Tramp 2019-02-28 10:33:05 +01:00
tramp-sh.el Handle subdomains in Tramp ad-hoc proxies 2019-05-10 14:48:07 +02:00
tramp-smb.el Fix an error in tramp-vc-file-name-handler 2019-05-09 14:24:22 +02:00
tramp-sudoedit.el Handle empty strings in Tramp's expand-file-name implementations 2019-03-06 12:06:09 +01:00
tramp-uu.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tramp.el Avoid infinitly looping in tramp-interrupt-process (bug#35506) 2019-05-15 16:29:58 +02:00
trampver.el Respect setgid bit of the upper directory in Tramp 2019-01-22 10:38:49 +01:00
webjump.el 2019-03-26 regex cleanup 2019-03-26 19:07:21 -07:00
zeroconf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00