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

Edge case regex pattern colorization #668

Open
tristanlatr opened this issue Nov 29, 2022 · 0 comments · May be fixed by #678
Open

Edge case regex pattern colorization #668

tristanlatr opened this issue Nov 29, 2022 · 0 comments · May be fixed by #678
Labels

Comments

@tristanlatr
Copy link
Contributor

Some regex patterns are not colorized correctly. We could add a check to ensure that the colorized pattern round trips, and if it doesn’t then we fallback to the generic string colorization.

#667 (comment)

Since we know our regex colorizer is not perfect, we shouldn’t emit warnings about failures in the regex colorizing.

tristanlatr added a commit that referenced this issue Jan 23, 2023
@tristanlatr tristanlatr linked a pull request Jan 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant