mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 21:04:12 +01:00
Allow \c/\C in regexp options and so forth.
This commit is contained in:
@@ -903,7 +903,9 @@ var Completion = Module("completion", {
|
||||
url: function url(context, complete) {
|
||||
|
||||
if (this.options["urlseparator"])
|
||||
var skip = RegExp("^.*" + this.options["urlseparator"] + "\\s*").exec(context.filter);
|
||||
var skip = util.regexp("^.*" + this.options["urlseparator"] + "\\s*")
|
||||
.exec(context.filter);
|
||||
|
||||
if (skip)
|
||||
context.advance(skip[0].length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user