1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 17:27:58 +01:00

Hackier but more reliable literal() stuff.

This commit is contained in:
Kris Maglione
2014-06-18 12:24:55 -07:00
parent fdf188166d
commit cde8cd6763
15 changed files with 66 additions and 63 deletions

View File

@@ -108,7 +108,7 @@ var Help = Module("Help", {
{ mimeType: "text/plain;charset=UTF-8" })
.responseText;
let re = util.regexp(UTF8(literal(/*
let re = util.regexp(UTF8(literal(function () /*
^ (?P<comment> \s* # .*\n)
| ^ (?P<space> \s*)
@@ -124,7 +124,7 @@ var Help = Module("Help", {
)
| (?: ^ [^\S\n]* \n) +
*/)), "gmxy");
*/$)), "gmxy");
let betas = util.regexp(/\[((?:b|rc)\d)\]/, "gx");