Closed RedCMD closed 2 years ago
When scrolling through the cpp/tmLanguage.json file; I noticed this very weird character-class: [^Pattern.new(\n match: \\/\\w\\/,\n)] I assume it was not intentional https://github.com/jeff-hykin/better-cpp-syntax/blob/219665b119c368c7188f0bbc059582a15a5634e4/syntaxes/cpp.tmLanguage.json#L7220
cpp/tmLanguage.json
[^Pattern.new(\n match: \\/\\w\\/,\n)]
That is concerning, and definitely a bug. Really strange that it only happened for member access too
Alright fixed it, thanks for the catch
[^\\w] is the same as \\W
[^\\w]
\\W
When scrolling through the
cpp/tmLanguage.json
file; I noticed this very weird character-class:[^Pattern.new(\n match: \\/\\w\\/,\n)]
I assume it was not intentional https://github.com/jeff-hykin/better-cpp-syntax/blob/219665b119c368c7188f0bbc059582a15a5634e4/syntaxes/cpp.tmLanguage.json#L7220