To be honest. what i really want to do, is to enable code owner plugin only on branch starts with "master-t" or "release-t"But disabledBranch = ^refs/(?!heads/(master-t|release-t)$).* doesn't workOn Tuesday, October 11, 2022 at 11:41:55 PM UTC+8 程洋 wrote:I noticed that Gerrit use dk.brics.automaton to compute regular expression.It's a little bit tricky for me. Is it possibel to search branch starts with "master-t" or "release-t"?
branch:^master-t.* OR branch:^release-t.* does the trick.But is it possibel to combine them into one regular expressionbranch:^(master-t.*|release-t.*) doesn't work
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/a536536a-833b-4308-a917-cd2a500e5d1bn%40googlegroups.com.