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 the rewrite regex #2983

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Improve the rewrite regex #2983

merged 1 commit into from
Dec 8, 2024

Conversation

jvoisin
Copy link
Collaborator

@jvoisin jvoisin commented Dec 7, 2024

  • Use [^"] instead of ., to help the regex engine to determine boundaries, instead of having it bruteforce its way to find them
  • Use + instead of *, as empty rules don't make sense

- Use `[^"]` instead of `.`, to help the regex engine to determine boundaries,
  instead of having it bruteforce its way to find them
- Use `+` instead of `*`, as empty rules don't make sense
@fguillot fguillot merged commit fefbf2c into miniflux:main Dec 8, 2024
16 checks passed
@jvoisin jvoisin deleted the rewrite_re_re branch December 26, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants