all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Scan of regexps in ELPA
@ 2019-03-09 13:40 Mattias Engdegård
  0 siblings, 0 replies; only message in thread
From: Mattias Engdegård @ 2019-03-09 13:40 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

Here is a list of potential mistakes and obsolete syntax in regexp
strings in the GNU ELPA tree, including external packages.

Most of them are not very grave, but there are some clear errors.


[-- Attachment #2: trawl.log --]
[-- Type: text/x-log, Size: 11241 bytes --]

;; Trawling ~/elpa  -*- compilation -*-
elpa/packages/auctex/tex-buf.el:1568:3: In LaTeX-warnings-regexp: Unescaped literal `*' (pos 27)
  "\\(?:LaTeX\\|Class\\|Package\\|*\\) [-A-Za-z0-9]* ?[Ww]arning:"
   ...............................^
elpa/packages/auctex/tex-buf.el:1576:24: In call to re-search-forward: Unescaped literal `*' (pos 28)
  "^\\(?:LaTeX\\|Class\\|Package\\|*\\) [-A-Za-z0-9]* ?[Ww]arning:"
   ................................^
elpa/packages/auctex/tex-buf.el:1675:29: In call to re-search-forward: Unescaped literal `*' (pos 1)
  "^* xsim warning: \"rerun\""
   .^
elpa/packages/auctex/tex.el:5836:33: In call to re-search-forward: Reversed range `z-a' matches nothing (pos 12)
  "\\=\\$\\([^$][^z-a]*[^$]\\)\\$"
   ...............^
elpa/packages/auctex/tex.el:5841:33: In call to re-search-forward: Reversed range `z-a' matches nothing (pos 9)
  "\\=\\\\(\\([^z-a]*\\)\\\\)"
   .............^
elpa/packages/auctex/tex.el:5846:37: In call to re-search-forward: Reversed range `z-a' matches nothing (pos 10)
  "\\=\\\\\\[\\([^z-a]*\\)\\\\\\]"
   ...............^
elpa/packages/auctex/tex.el:5847:37: In call to re-search-forward: Reversed range `z-a' matches nothing (pos 10)
  "\\=\\$\\$\\([^z-a]*\\)\\$\\$"
   ..............^
elpa/packages/bbdb/bbdb-com.el:2719:30: In call to string-match: Unescaped literal `+' (pos 1)
  "^+"
   .^
elpa/packages/cobol-mode/cobol-mode.el:1962:3: In cobol--fixed-comment-indicators-re: Unescaped literal `*' (pos 0)
  "*/"
   ^
elpa/packages/coffee-mode/coffee-mode.el:299:30: In coffee-regexp-regexp: Escaped non-special character `/' (pos 0)
  "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/"
   ^
elpa/packages/coffee-mode/coffee-mode.el:299:30: In coffee-regexp-regexp: Escaped non-special character `/' (pos 35)
  "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/"
   .................................................^
elpa/packages/coffee-mode/coffee-mode.el:333:3: In coffee-font-lock-keywords: Escaped non-special character `/' (pos 0)
  "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/"
   ^
elpa/packages/coffee-mode/coffee-mode.el:333:3: In coffee-font-lock-keywords: Escaped non-special character `/' (pos 35)
  "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/"
   .................................................^
elpa/packages/company/company-css.el:391:3: In company-css-pseudo-regexp: Escaped non-special character `#' (pos 140)
  "\\(?:\\`\\|}\\)[[:space:]]*\\(?:\\(?:#\\|\\_<[[:alpha:]]\\)[[:alnum:]-#]*\\(?:\\[[^]]*\\]\\)?\\(?:[[:space:]]+\\|[[:space:]]*[+,>][[:space:]]*\\)\\)*\\(?:\\(?:\\#\\|\\_<[[:alpha:]]\\)[[:alnum:]-#]*\\):\\([[:alpha:]-]+\\_>\\|\\)\\_>\\="
   ...............................................................................................................................................................^
elpa/packages/context-coloring/fixtures/test/let.el:13:11: (invalid-read-syntax ")")
elpa/packages/dismal/dismal.el:1788:26: In call to string-match: Reversed range `\-$' matches nothing (pos 13)
  "[[:alnum:]!@#\\-$%^&*-]"
   .............^
elpa/packages/dismal/dismal.el:6092:22: In call to string-match: Character `+' included in range `$--' (pos 22)
  "^([a-zA-Z .0-9:$---/^\"+=<>\\]*)$"
   .......................^
elpa/packages/electric-spacing/electric-spacing.el:169:15: In call to looking-back: Escaped non-special character ` ' (pos 202)
  "\\(\\(?:#i\\(?:mport\\|nclude\\)\\|auto_ptr\\|const_cast\\|d\\(?:eque\\|ynmaic_cast\\)\\|hash_map\\|iterator\\|list\\|m\\(?:\\(?:ultim\\)?ap\\)\\|pair\\|reintepret_cast\\|s\\(?:et\\|ta\\(?:ck\\|tic_cast\\)\\)\\|template\\|vector\\)\\)\\ *"
   ..........................................................................................................................................................................................................................................^
elpa/packages/electric-spacing/electric-spacing.el:291:49: In call to looking-back: Escaped non-special character `-' (pos 0)
  "\\- *"
   ^
elpa/packages/electric-spacing/electric-spacing.el:292:30: In call to looking-back: Escaped non-special character `-' (pos 14)
  "[a-zA-Z0-9_] +\\- *"
   ..............^
elpa/packages/fountain-mode/fountain-mode.el:663:3: In fountain-italic-regexp: Duplicated `\' inside character alternative (pos 8)
  "\\(^\\|[^\\\\*]\\)\\(\\*\\)\\([^\n\r \t\\*]+?[^\n\\*]*?\\)\\(\\2\\)"
   ...........^
elpa/packages/fountain-mode/fountain-mode.el:677:3: In fountain-bold-italic-regexp: Duplicated `\' inside character alternative (pos 8)
  "\\(^\\|[^\\\\*]\\)\\(\\*\\{3\\}\\)\\([^ \t\n\\*]+?[^\n\\*]*?\\)\\(\\2\\)"
   ...........^
elpa/packages/fountain-mode/fountain-mode.el:1726:3: In fountain-template-regexp: Ranges `.-a' and `0-9' overlap (pos 19)
  "{{[ \t\n]*\\(?1:[.-a-z0-9]+\\)\\(?::[ \t\n]*\\(?2:[^{}]+?\\)\\)?[ \t\n]*}}"
   ......................^
elpa/packages/hyperbole/hibtypes.el:151:34: In call to string-match: Duplicated `\' inside character alternative (pos 5)
  "\\`[^\\\\/~]+\\.elc?\\(\\.gz\\)?\\'"
   .......^
elpa/packages/hyperbole/hibtypes.el:517:31: In call to re-search-backward: Repetition of repetition (pos 4)
  "^\\*?*[ \t]*\\(Table of \\)?Contents[ \t]*$"
   .....^
elpa/packages/hyperbole/hibtypes.el:852:30: In call to looking-at: Unescaped literal `*' (pos 0)
  "*\\s-+\\([^:\t\n\r]+\\)::"
   ^
elpa/packages/hyperbole/hmouse-info.el:351:17: In call to re-search-backward: Unescaped literal `*' (pos 0)
  "*\\(Ref\\|Note\\|See\\)\\([ \t\n\r]+\\|$\\)"
   ^
elpa/packages/hyperbole/hmouse-info.el:352:28: In call to looking-at: Unescaped literal `*' (pos 0)
  "*\\(Ref\\|Note\\|See\\)[ \t\n\r]+\\([^:]*\\):"
   ^
elpa/packages/hyperbole/hpath.el:334:41: In hpath:outline-section-pattern: Unescaped literal `*' (pos 1)
  "^*+[ \t]+%s\\([ \t[:punct:]]*\\)$"
   .^
elpa/packages/hyperbole/hui-select.el:842:34: In call to looking-at: Ranges `A-z' and `a-z' overlap (pos 4)
  "[a-zA-z~]\\|\\s_"
   ....^
elpa/packages/hyperbole/hui-select.el:927:33: In call to looking-at: Ranges `A-z' and `a-z' overlap (pos 4)
  "[a-zA-z]\\|\\s_"
   ....^
elpa/packages/notes-mode/notes-mode.el:37:43: In notes-beginning-of-defun-regexp: Escaped non-special character `-' (pos 7)
  "^\\* .*\n\\-"
   .........^
elpa/packages/notes-mode/notes-mode.el:628:32: In call to looking-at: Unescaped literal `*' (pos 0)
  "* "
   ^
elpa/packages/notes-mode/notes-variables.el:107:3: In notes-font-lock-keywords: Escaped non-special character `-' (pos 1)
  "^\\-+$"
   .^
elpa/packages/oauth2/oauth2.el:48:43: In call to string-match-p: Unescaped literal `?' (pos 0)
  "?"
   ^
elpa/packages/oauth2/oauth2.el:186:31: In call to string-match-p: Unescaped literal `?' (pos 0)
  "?"
   ^
elpa/packages/org-edna/org-edna.el:1003:51: In call to string-match-p: Escaped non-special character `-' (pos 1)
  "^\\-"
   .^
elpa/packages/psgml/psgml-parse.el:2231:3: In sgml-formal-pubid-regexp: Unescaped literal `+' (pos 3)
  "^\\(+//\\|-//\\|\\)\\(\\([^/]\\|/[^/]\\)+\\)//\\([^ ]+\\) \\(\\([^/]\\|/[^/]\\)*\\)//\\(\\([^/]\\|/[^/]\\)*\\)\\(//\\(\\([^/]\\|/[^/]\\)*\\)\\)?"
   ....^
elpa/packages/rainbow-mode/rainbow-mode.el:50:3: In rainbow-hexadecimal-colors-font-lock-keywords: Repetition of repetition (pos 30)
  "[^&]\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)+\\{1,4\\}\\)"
   ...................................^
elpa/packages/rainbow-mode/rainbow-mode.el:50:3: In rainbow-hexadecimal-colors-font-lock-keywords: Repetition of repetition (pos 27)
  "^\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)+\\{1,4\\}\\)"
   ................................^
elpa/packages/realgud/realgud/lang/python.el:131:3: In realgud:python-debugger-font-lock-keywords: Repetition of repetition (pos 18)
  "[ \t]+file '\\([^ ]+*\\)'"
   ....................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `$' (pos 18)
  "^`\\{3\\}[ ]+code.*?$\\(.\\|\n\\)+?`\\{3\\}$"
   ....................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `$' (pos 19)
  "^`\\{3\\}[ ]+table.*?$\\(.\\|\n\\)+?`\\{3\\}$"
   .....................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `$' (pos 38)
  "^`\\{3\\}[ ]+\\(group\\|block\\|alt\\|poem\\)$\\(.\\|\n\\)+?^`\\{3\\}$"
   .............................................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `^' (pos 49)
  "^`\\{3\\}[ ]+\\(group\\|block\\|alt\\|poem\\)$\\(.\\|\n\\)+?^`\\{3\\}$"
   ............................................................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `*' (pos 2)
  "\\(*~\\)\\([^ \r\t\n]+\\)"
   ...^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Escaped non-special character `-' (pos 2)
  "\\(\\-{\\)\\([^}]+\\)\\(}\\-\\)"
   ...^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Escaped non-special character `-' (pos 19)
  "\\(\\-{\\)\\([^}]+\\)\\(}\\-\\)"
   .........................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Escaped non-special character `~' (pos 21)
  "^\\(\\([1-4]\\|:?[A-D]\\)\\~\\)\\(.*\\)"
   .........................^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Unescaped literal `^' (pos 4)
  "\\({~^\\|{\\)\\([^}{]+\\)\\(}http:[/][/][^ \r\n\t<]+\\)"
   .....^
elpa/packages/sisu-mode/sisu-mode.el:138:3: In sisu-font-lock-keywords: Escaped non-special character `@' (pos 3)
  "^\\(\\@\\(creator\\|title\\|date\\|rights\\|publisher\\|classify\\|identifier\\|original\\|notes\\|links\\|make\\|\\):\\)\\(.*\\)"
   ....^
elpa/packages/sql-indent/sql-indent.el:87:30: In sqlind-comment-end: Escaped non-special character `/' (pos 3)
  "\\*+\\/"
   ....^
elpa/packages/sql-indent/sql-indent.el:387:3: In sqlind-end-statement-regexp: Duplicated `\t' inside character alternative (pos 18)
  "\\_<end\\_>\\(?:[ \t\n\r\t]*\\)\\(if\\_>\\|loop\\_>\\|case\\_>\\)?\\(?:[ \t\n\r\f]*\\)\\([a-z0-9_]+\\)?"
   ........................^
elpa/packages/sql-indent/sql-indent.el:490:27: In call to looking-at: Escaped non-special character `p' (pos 32)
  "end\\|table\\|view\\|index\\|trigger\\procedude\\|function\\|package\\|body"
   ....................................^
elpa/packages/web-server/web-server.el:175:27: In call to string-match: Unescaped literal `?' (pos 0)
  "?"
   ^
elpa/packages/wpuzzle/wpuzzle.el:322:26: In call to re-search-forward: Unescaped literal `*' (pos 1)
  "^*$"
   .^
elpa/packages/yasnippet/yasnippet.el:559:3: In yas--field-regexp: Unescaped literal `$' (pos 0)
  "${\\([0-9]+:\\)?\\([^}]*\\)}"
   ^
elpa/packages/yasnippet/yasnippet.el:563:3: In yas--multi-dollar-lisp-expression-regexp: Unescaped literal `$' (pos 0)
  "$+[ \t\n]*\\(([^)]*)\\)"
   ^
elpa/packages/yasnippet/yasnippet.el:571:3: In yas--transform-mirror-regexp: Unescaped literal `$' (pos 0)
  "${\\(?:\\([0-9]+\\):\\)?$\\([ \t\n]*([^}]*\\)"
   ^
elpa/packages/yasnippet/yasnippet.el:571:3: In yas--transform-mirror-regexp: Unescaped literal `$' (pos 20)
  "${\\(?:\\([0-9]+\\):\\)?$\\([ \t\n]*([^}]*\\)"
   ........................^
elpa/packages/yasnippet/yasnippet.el:575:3: In yas--simple-mirror-regexp: Unescaped literal `$' (pos 0)
  "$\\([0-9]+\\)"
   ^


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-09 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-09 13:40 Scan of regexps in ELPA Mattias Engdegård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.