Skip to content

Conversation

@fzipi
Copy link
Member

@fzipi fzipi commented Feb 23, 2025

what

  • update regex to be more specific
  • change from . (anything) to [^)], which performs better while keeping the semantic

why

  • follow standards
  • optimize matching speed
  • prevent potential backtrackings

Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
@fzipi fzipi requested a review from theseion February 23, 2025 15:41
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2025

📊 Quantitative test results for language: eng, year: 2023, size: 10K, paranoia level: 1:
🚀 Quantitative testing did not detect new false positives

Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
@fzipi fzipi requested a review from theseion February 23, 2025 20:46
@theseion theseion added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit c023ef1 Feb 24, 2025
6 checks passed
@theseion theseion deleted the rules/933160-use-lazy-regex branch February 24, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants