emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regexp linting scan


From: Mattias Engdegård
Subject: Re: Regexp linting scan
Date: Thu, 5 Dec 2019 11:21:38 +0100

5 dec. 2019 kl. 01.57 skrev Paul Eggert <address@hidden>:

> Thanks for the scan; I installed the attached.

Thank you, looks very reasonable.

Since repetition of capture groups (like "\\(a.\\)+" is usually a mistake I 
tried to locate those specifically, but it's hard to know for sure that a group 
is unused.

Bonus: fresh from newly committed Org changes!

lisp/org/org-agenda.el:7673:40: In call to string-match: Unescaped literal `+' 
(pos 1)
  "^+[-+]"
   .^
lisp/org/org.el:7828:34: In call to string-match: Duplicated `\' inside 
character alternative (pos 12)
  "\\`[ \t]*\\([\\+\\-]?[0-9]+\\)\\([dwmy]\\)[ \t]*\\'"
   ................^





reply via email to

[Prev in Thread] Current Thread [Next in Thread]