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

Fix: backtrack hell #2757

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Fix: backtrack hell #2757

wants to merge 2 commits into from

Conversation

eight04
Copy link
Contributor

@eight04 eight04 commented Feb 13, 2023

What: Fix backtrack hell pattern in the lexer.

Why: The backtrack hell freezes the browser.

How: Remove backtrack patterns.

Checklist:

  • Documentation N/A
  • Unit Tests
  • Code complete
  • Changelog

I don't understand how the lexer work so this pr only removes the backtrack pattern. It will be nice if someone can actually fix the lexer.

P.S. What are code complete and changelog in the checklist?

Fixes #2756

@netlify
Copy link

netlify bot commented Feb 13, 2023

Deploy Preview for stylus-docs canceled.

Name Link
🔨 Latest commit 0135149
🔍 Latest deploy log https://app.netlify.com/sites/stylus-docs/deploys/63e9fd76a21fe300089eec18

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.

Backtrack hell bug in lexer
1 participant