author | wenzelm |
Wed, 02 Mar 2022 12:28:46 +0100 | |
changeset 75173 | 7d1864ffad13 |
parent 75172 | 26ac98871d42 |
child 75174 | 671580b6bfbe |
--- a/src/Tools/VSCode/extension/src/library.ts Mon Feb 28 14:53:52 2022 +0100 +++ b/src/Tools/VSCode/extension/src/library.ts Wed Mar 02 12:28:46 2022 +0100 @@ -8,7 +8,7 @@ export function escape_regex(s: string): string { - return s.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&") + return s.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, '\\x2d') } /* strings */