123123213weqw opened a new issue, #2499: URL: https://github.com/apache/rocketmq-dashboard/issues/2499
## Problem Alert expressions are split on commas and parsed at the first `=`. `cluster=~"prod-.*"` is treated as a plain cluster value; `label="prod,blue"` is split into two labels; a missing `}` causes wrong slicing. Location: `web/src/pages/studio/AlertManagement.tsx`. ## Expected behavior Implement a quote/escape-aware matcher tokenizer (or a lightweight PromQL selector parser); extract only exact `cluster="..."` / `broker="..."` and keep regex and negated matchers intact. ## Verification Cover `=`, `!=`, `=~`, `!~`, escaped quotes, commas inside values and unclosed braces. Note: complex matcher boundaries that remain after #1986/#2056; do not re-do their basic scope fixes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
