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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user