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