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

Improve slow Regex HTML_BLOCK_ELEMENT_R because of issue with self closing tags #547

Conversation

devbrains-com
Copy link

PR implements the suggested improvement in #546.

Improves the regex by ignoring self closing tags.
Copy link
Owner

@quantizor quantizor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me, will test it a bit before merging tonight

@quantizor quantizor self-assigned this Mar 12, 2024
@quantizor
Copy link
Owner

Not getting conclusive improvement with this change https://jsperf.app/joribi/1/preview

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.

2 participants