1
0
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:
Kris Maglione
2011-03-02 14:43:57 -05:00
parent 0f542bc000
commit 66785a8b5f
9 changed files with 45 additions and 25 deletions

View File

@@ -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);