I'm trying to match against the summary in issues as part of an automation. The summary is formatted like "Dev refresh 2024-09-23". This is part of an if component comparing two values with a smart value exactly matching a regex. I have tried these:
(Dev|Stage) refresh \d{4}-\d{2}-\d{2}
(?:Dev|Stage) refresh \d{4}-\d{2}-\d{2}
\w+ refresh \d{4}-\d{2}-\d{2}These all pass the regex validator in the automation editor. They also work in online regex editors that I have tried. But when I run the automation, I see this in the audit log:
Invalid regex: Unclosed group near index 18 (\d{4}-\d{2}-\d{2}: String.match("(\d{4}-\d{2}-\d{2}")