diff --git a/common/content/commands.js b/common/content/commands.js index 7af444b4..749cdf36 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1049,7 +1049,7 @@ var Commands = Module("commands", { ]]>) }), - validName: Class.memoize(function () RegExp("^" + this.nameRegexp.source + "$")), + validName: Class.memoize(function () util.regexp("^" + this.nameRegexp.source + "$")), commandRegexp: Class.memoize(function () util.regexp(