Consider searching with JS regexes in unicode mode #61746
Labels
editor-find
Editor find operations
feature-request
Request for new features or functionality
search
Search widget and operation issues
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
JS regexes now support a
u
flag which changes their semantics regarding unicode characters in some ways and enables some new features.Examples:
Example in vscode:
饾寙饾寙
in editor饾寙{2}
饾寙饾寙
does matchNot sure how many users are affected by this but it's worth investigating.
Also, this support seems half-baked in Node 8 but works more in Node 10, so maybe we wait for an electron update.
More info: https://mathiasbynens.be/notes/es6-unicode-regex
The text was updated successfully, but these errors were encountered: