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

chore(app): fix possible infinite loop in regex highlighter #2316

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

bcsherma
Copy link
Contributor

@bcsherma bcsherma commented Sep 5, 2024

Please use conventional commits in your PR title. If you are unsure what conventional commits are or how to use them, please check out this notion doc.

Description

This PR fixes an infinite loop that can occur if the regex highlighting helper receives a zero-width regex (eg ^) as input

@bcsherma bcsherma marked this pull request as ready for review September 5, 2024 19:03
@bcsherma bcsherma requested a review from a team as a code owner September 5, 2024 19:03
@circle-job-mirror
Copy link

circle-job-mirror bot commented Sep 5, 2024

@bcsherma bcsherma merged commit a2d476d into master Sep 5, 2024
26 checks passed
@bcsherma bcsherma deleted the infinite-highlighting branch September 5, 2024 19:45
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2024
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.

2 participants