RedCMD

Results 81 comments of RedCMD

https://github.com/microsoft/vscode-typescript-next/pull/35

Posix classes are some of the funkiest things in textmate. The below regex is allowed and will match all upper case letters aswell as `a`, `b` and `c`. ![image](https://user-images.githubusercontent.com/33529441/148677740-4b4a6c8e-9048-4cb0-9264-32f911dfe2e2.png) But...

Another way to see it, is to create a highlighter like this: ![image](https://user-images.githubusercontent.com/33529441/149262587-5e4f7709-4069-494c-9425-c8a985eccd7d.png) ```json "match": "(A)(B)(C)(D)(E)(F)(G)(H)(I)(J)\\g?(K)(L)(M)(N)(O)(P)", "captures": { "1": { "name": "markup.underline invalid" }, "2": { "name": "markup.underline string.regexp" },...

I'm cant seem to picture what you're trying to explain can you provide an example please? I think we can agree that `source.md#link` should always include the `#link` key from...

The check for base 10 numbers does not allow for prefixing `0`'s `[-+]? (?: 0|[1-9][0-9_]*) # (base 10)` https://github.com/textmate/yaml.tmbundle/blob/e54ceae3b719506dba7e481a77cea4a8b576ae46/Syntaxes/YAML.tmLanguage#L807 cases `00` - `07` are handled by the base 8 regex...

`(?1)` will cause an error and silently fail ![image](https://user-images.githubusercontent.com/33529441/172739616-46475d76-2949-4cee-ac66-f0b15ea421e9.png) Even after replacing `(?1)` with `\\g`, it seems that example enters catastrophic back tracking and fails completely List of all Oniguruma's...

I just looked through all `c`, `cpp`, `cpp.embed` and `cuda-cpp` grammar files and did _not_ see this specfic issue once.

@jeff-hykin This may be causing a lot of the C++ performance issues I notice many `"#inline_comment"` includes under captures `Capturing and applying a pattern causes performance loss`: https://github.com/microsoft/vscode-textmate/issues/167

Probably should request this at https://github.com/textmate/textmate

Can confirm `function_definition` causing the issue Tho the lag seems to be constituted around variable declaration rather than the struct code ![image](https://user-images.githubusercontent.com/33529441/205782878-e7ff1dd0-484e-4179-8709-bbbfea31bb58.png) ``` int var; int var; int var; int...