vscode-textmate
vscode-textmate copied to clipboard
Empty `end` matches `\uFFFF`
actual:
Currently an empty or non-existent end pattern will match against the unicode character � \uFFFF
this bug was caused by a partial fix of
- https://github.com/microsoft/vscode-textmate/issues/66
https://github.com/microsoft/vscode-textmate/commit/7640bd6490ad961437a6982d7489e212777df7d8 didn't fix it, but instead just moved the bug along from matching undefined to matching �
expected:
after doing testing in TextMate 2.0
I can confirm that an empty or non-existent end pattern will match immediately
the fix is as simple as replacing '\uFFFF' with ''
pr #252