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

feat: transpile negative lookaheads into exclusions #451

Closed
wants to merge 1 commit into from

Conversation

Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Aug 7, 2023

Next.js encourages the use of negative lookahead expressions, which Golang's flavour of regex doesn't support due to unpredictable runtime performance. This PR is an attempt at transpiling negative lookaheads into excluded_patterns. It's not much more than a rough idea, and likely doesn't work at all, so scrutiny is more than welcome!

@Skn0tt Skn0tt requested a review from a team as a code owner August 7, 2023 13:11
@eduardoboucas
Copy link
Member

Superseded by #560.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants