summaryrefslogtreecommitdiff
path: root/lisp/arc-mode.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-04-19 09:00:04 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-04-19 09:02:25 -0700
commit9e4bb0d221bbd97f9318bacba0650d93708f0290 (patch)
tree0711cf59f86e4782cd8e0081921330097eb252de /lisp/arc-mode.el
parente6a9785f8228130c339aad5ba0a514fee6539cab (diff)
downloademacs-9e4bb0d221bbd97f9318bacba0650d93708f0290.tar.gz
emacs-9e4bb0d221bbd97f9318bacba0650d93708f0290.tar.bz2
emacs-9e4bb0d221bbd97f9318bacba0650d93708f0290.zip
Fix regexp branches that subsume other branches
Problems reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2019-04/msg00803.html * lisp/arc-mode.el (archive-rar-summarize): * lisp/eshell/em-hist.el (eshell-hist-word-designator): * lisp/info.el (Info-dir-remove-duplicates): * lisp/international/ja-dic-cnv.el (skkdic-convert-postfix) (skkdic-convert-prefix, skkdic-collect-okuri-nasi): * lisp/progmodes/cc-awk.el (c-awk-esc-pair-re): * lisp/xml.el (xml-att-type-re): Omit regexp branches that subsume other branches. * lisp/progmodes/cperl-mode.el (cperl-beautify-regexp-piece): $ and ^ aren’t simple-codes.
Diffstat (limited to 'lisp/arc-mode.el')
-rw-r--r--lisp/arc-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index 6a58d61a547..1c88f9a1a18 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -2019,7 +2019,7 @@ This doesn't recover lost files, it just undoes changes in the buffer itself."
(re-search-forward "^\\(\s+=+\s*\\)+\n")
(while (looking-at (concat "^\s+[0-9.]+\s+D?-+\s+" ; Flags
"\\([0-9-]+\\)\s+" ; Size
- "\\([-0-9.%]+\\|-+\\)\s+" ; Ratio
+ "\\([-0-9.%]+\\)\s+" ; Ratio
"\\([0-9a-zA-Z]+\\)\s+" ; Mode
"\\([0-9-]+\\)\s+" ; Date
"\\([0-9:]+\\)\s+" ; Time