]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-error-regexp-alist-alist) <gnu>:
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 15:17:35 +0000 (15:17 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 15:17:35 +0000 (15:17 +0000)
Use shy regexp.  Fix incorrect backref to potentially unmatched group.

lisp/progmodes/compile.el

index 5da86972ec546570fc10d7e20a0730483a2224e1..3c9d074178392db0c5269678cb4bb8e472801edb 100644 (file)
@@ -224,9 +224,9 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
 
     (gnu
      "^\\(?:[[:alpha:]][-[:alnum:].]+: ?\\)?\
-\\([/.]*[a-zA-Z]:?[^ \t\n:]*\\|{standard input}\\): ?\
-\\([0-9]+\\)\\([.:]?\\)\\([0-9]+\\)?\
-\\(?:-\\(?:\\([0-9]+\\)\\3\\)?\\.?\\([0-9]+\\)?\\)?:\
+\\(.+?\\): ?\
+\\([0-9]+\\)\\(?:\\([.:]\\)\\([0-9]+\\)\\)?\
+\\(?:-\\([0-9]+\\)?\\(?:\\3\\([0-9]+\\)\\)?\\)?:\
 \\(?: *\\(\\(?:Future\\|Runtime\\)?[Ww]arning\\|W:\\)\\|\
  *\\([Ii]nfo\\(?:\\>\\|rmationa?l?\\)\\|I:\\|instantiated from\\)\\)?"
      1 (2 . 5) (4 . 6) (7 . 8))