mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 23:25:45 +01:00
Allow \c/\C in regexp options and so forth.
This commit is contained in:
@@ -847,8 +847,8 @@ var Hints = Module("hints", {
|
||||
* hints that match as above.
|
||||
*/
|
||||
function wordStartsWithMatcher(hintString, allowWordOverleaping) { //{{{
|
||||
let hintStrings = tokenize(/\s+/, hintString);
|
||||
let wordSplitRegexp = RegExp(options["wordseparators"]);
|
||||
let hintStrings = tokenize(/\s+/, hintString);
|
||||
let wordSplitRegexp = util.regexp(options["wordseparators"]);
|
||||
|
||||
/**
|
||||
* Match a set of characters to the start of words.
|
||||
|
||||
Reference in New Issue
Block a user