提交 b0a519d6 编写于 作者: R Rob Lourens

Search - Map all \u unicode escapes to \x because only that format is...

Search - Map all \u unicode escapes to \x because only that format is supported by both the Rust regex engine and PCRE2
上级 57cb7399
......@@ -410,10 +410,10 @@ function getRgArgs(query: TextSearchQuery, options: TextSearchOptions): string[]
if ((<IExtendedExtensionSearchOptions>options).usePCRE2) {
args.push('--pcre2');
}
if (query.isRegExp) {
pattern = unicodeEscapesToPCRE2(pattern);
}
if (query.isRegExp) {
pattern = unicodeEscapesToPCRE2(pattern);
}
// Allow $ to match /r/n
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册