1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:07:57 +01:00

Rename util.(escapeRegexp|regexpSource) to util.regexp.(escape|getSource).

This commit is contained in:
Kris Maglione
2010-12-15 06:06:42 -05:00
parent 097309f28c
commit f07f067309
6 changed files with 23 additions and 25 deletions

View File

@@ -391,7 +391,7 @@ const Option = Class("Option", {
re.toString = function () Option.unparseRegexp(this);
return re;
},
unparseRegexp: function (re) re.bang + Option.quote(util.regexpSource(re), /^!|:/) +
unparseRegexp: function (re) re.bang + Option.quote(util.regexp.getSource(re), /^!|:/) +
(typeof re.result === "boolean" ? "" : ":" + Option.quote(re.result)),
getKey: {