summaryrefslogtreecommitdiff
path: root/common/modules/highlight.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-15 13:06:40 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-15 13:06:40 -0500
commit5606b9695704c87406feba251e35cef71c8529b1 (patch)
treeda58e4ab4a678664d3e903c023740157ebe33418 /common/modules/highlight.jsm
parent5d53adcebca4f2bf7df5740c0cc7af65c47a80b5 (diff)
downloadpentadactyl-5606b9695704c87406feba251e35cef71c8529b1.tar.gz
Require "x" flag in util.regexp for "extended" regex processing.
Diffstat (limited to 'common/modules/highlight.jsm')
-rw-r--r--common/modules/highlight.jsm4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/modules/highlight.jsm b/common/modules/highlight.jsm
index 1c53104f..782b9ca5 100644
--- a/common/modules/highlight.jsm
+++ b/common/modules/highlight.jsm
@@ -224,7 +224,7 @@ var Highlights = Module("Highlight", {
\{ ([^}]*) \}
\s*
$
- ]]>, "gm"),
+ ]]>, "gmx"),
sheetRegexp: util.regexp(<![CDATA[
^\s*
!? \*?
@@ -234,7 +234,7 @@ var Highlights = Module("Highlight", {
(?:; (?P<extends> (?:[^;\s]|\s[^;\s])+ )? )?
\s* (?P<css> .*)
$
- ]]>),
+ ]]>, "x"),
/**
* Bulk loads new CSS rules, in the format of,