maven-central.el
changeset 1551 e03dcbea6a1f
parent 1535 15388800a8e2
child 1599 665bd30beaae
--- a/maven-central.el	Sun Dec 03 10:57:05 2017 +0200
+++ b/maven-central.el	Thu Dec 14 01:05:24 2017 +0200
@@ -119,7 +119,7 @@
   (let ( groupId artifactId )
     (save-excursion
       (goto-char (line-beginning-position))
-      (when (re-search-forward "\\([\"']\\)\\([a-zA-Z0-9.-]+\\):\\([a-zA-Z0-9.-]+\\):?[a-zA-Z0-9.-]*\\1" (line-end-position) t)
+      (when (re-search-forward "\\([\"']\\)\\([a-zA-Z0-9.-]+\\):\\([a-zA-Z0-9.-]+\\):?[^\"']*\\1" (line-end-position) t)
         (setq groupId (match-string 2))
         (setq artifactId (match-string 3))
         (list groupId artifactId)))))