mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
finished jump to autocomplete, now with token highlighting, #203
This commit is contained in:
@@ -114,6 +114,10 @@ function union(a, b) {
|
||||
return res;
|
||||
}
|
||||
|
||||
function escapeRegExp(str) {
|
||||
return str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
randomSecureToken,
|
||||
randomString,
|
||||
@@ -132,5 +136,6 @@ module.exports = {
|
||||
toObject,
|
||||
stripTags,
|
||||
intersection,
|
||||
union
|
||||
union,
|
||||
escapeRegExp
|
||||
};
|
||||
Reference in New Issue
Block a user