1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-24 19:45:47 +01:00

Require "x" flag in util.regexp for "extended" regex processing.

This commit is contained in:
Kris Maglione
2011-02-15 13:06:40 -05:00
parent 5d53adcebc
commit 5606b96957
9 changed files with 51 additions and 42 deletions

View File

@@ -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,