1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 04:23:31 +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

@@ -157,14 +157,14 @@ var Abbreviations = Module("abbreviations", {
(^ | \s | <nonkeyword>) (<keyword>+ )$ | // full-id
(^ | \s | <keyword> ) (<nonkeyword>+ <keyword>)$ | // end-id
(^ | \s ) (\S* <nonkeyword> )$ // non-id
]]></>, "", params);
]]></>, "x", params);
this._check = util.regexp(<><![CDATA[
^ (?:
<keyword>+ | // full-id
<nonkeyword>+ <keyword> | // end-id
\S* <nonkeyword> // non-id
) $
]]></>, "", params);
]]></>, "x", params);
},
get: deprecated("group.abbrevs.get", { get: function get() this.user.closure.get }),