Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Update C# grammar" that introduces invalid grammar #132400

Closed
wants to merge 0 commits into from

Conversation

Gerrit0
Copy link
Contributor

@Gerrit0 Gerrit0 commented Sep 5, 2021

This reverts commit bd24934.

The reverted commit contains the regular expression (?<!\?\s*)\?(?!\?|\.|\[), which is an invalid regular expression because the lookbehind is no longer fixed width.

@Gerrit0
Copy link
Contributor Author

Gerrit0 commented Sep 6, 2021

Once dotnet/csharp-tmLanguage#220 is merged, it would be better to update again instead.

@octref
Copy link
Contributor

octref commented Sep 16, 2021

@alexr00 Hi Alex, hope this can be fixed soon so I can continue to use shiki to highlight C#.

@Gerrit0
Copy link
Contributor Author

Gerrit0 commented Sep 18, 2021

Didn't realize that would happen, makes sense I guess... the revert is no longer necessary, an update would be better

@alexr00
Copy link
Member

alexr00 commented Sep 20, 2021

Just updated the grammar. Thanks for bringing this up!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants