Skip to content

Conversation

@laurenashleigh
Copy link
Contributor

This PR fixes regex filters in the Alerts Triage page https://github.com/grafana/alerting-squad/issues/1262. Regex metacharacters in =~ patterns are now preserved instead of being escaped, allowing patterns like foo.* to work correctly.

Root Cause: The default AdHocFiltersVariable expression builder from @grafana/scenes escapes all regex metacharacters for all operators, which breaks user-entered regex patterns.

@laurenashleigh laurenashleigh changed the title Alerting: bug fix for regex matching in Alerts page Alerting: Bug fix for regex matching in Alerts page Nov 4, 2025
@github-project-automation github-project-automation bot moved this to In review in Alerting Nov 4, 2025
@laurenashleigh laurenashleigh marked this pull request as ready for review November 4, 2025 16:44
@laurenashleigh laurenashleigh requested a review from a team as a code owner November 4, 2025 16:44
@laurenashleigh laurenashleigh requested review from gillesdemey, konrad147 and soniaAguilarPeiron and removed request for a team November 4, 2025 16:44
@github-actions github-actions bot added this to the 12.3.x milestone Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant