]> code.delx.au - gnu-emacs-elpa/commitdiff
company-css-property-value-regexp: prohibit opening curlies
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Jul 2014 00:13:21 +0000 (03:13 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 21 Jul 2014 00:13:21 +0000 (03:13 +0300)
Fixes #154

company-css.el

index b8bd639c188985fad6e39c9112bb096f48048615..0caf617b9e88e066a50d48fd0661261ce0b69a77 100644 (file)
@@ -402,7 +402,7 @@ Returns \"\" if no property found, but feasible at this position."
 
 ;;; values
 (defconst company-css-property-value-regexp
-  "\\_<\\([[:alpha:]-]+\\):\\(?:[^};]*[[:space:]]+\\)?\\([^};]*\\_>\\|\\)\\="
+  "\\_<\\([[:alpha:]-]+\\):\\(?:[^{};]*[[:space:]]+\\)?\\([^{};]*\\_>\\|\\)\\="
   "A regular expression matching CSS tags.")
 
 ;;;###autoload