Skip to content

Conversation

valner
Copy link

@valner valner commented Mar 13, 2025

Description

Previously, the code was erroneously removing backslashes before every symbol in regular expressions. This caused issues when the configuration included regular expressions. For instance:

Before:

expr: body matches "^\\{"

Was incorrectly translated to:

expr: body matches "^\{"

Resulting in an illegal sequence.

This pull request addresses the issue by modifying the code to only remove backslashes before the backtick symbol, ensuring proper handling of regular expressions in the configuration.

Testing

Tests added

Copy link
Contributor

github-actions bot commented Apr 1, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Apr 1, 2025
@valner
Copy link
Author

valner commented Apr 4, 2025

@dmitryax could you take a look plz

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@atoulme
Copy link
Contributor

atoulme commented Apr 29, 2025

Please look at the conflict - looks like your change was applied?

@atoulme atoulme marked this pull request as draft April 29, 2025 22:37
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label May 24, 2025
Copy link
Contributor

github-actions bot commented Jun 7, 2025

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Jun 7, 2025
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