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