From 7e2c32e604e0c7817d547ab27cc4e88b5c7164b4 Mon Sep 17 00:00:00 2001 From: Galo Navarro Date: Sat, 11 Nov 2023 08:13:03 +0100 Subject: [PATCH] README: regex syntax (#109) Signed-off-by: Galo Navarro --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d0c8ce9..9ad3f85 100644 --- a/README.md +++ b/README.md @@ -294,11 +294,16 @@ With this config, the behaviour changes: ## Conditions Below are the conditions currently supported in label matchers, in -alphabetical order. Note that some conditions are only applicable to -pull requests. - -All conditions evaluate only when they are explicitly added in -configuration (that is, there are no default values). +alphabetical order. Some important considerations: + +* Conditions evaluate only when they are explicitly added in + configuration. There are no defaults. +* Some conditions are only applicable to pull requests. +* All conditions based on regex rely on [Go's `regexp` + package](https://pkg.go.dev/regexp), which accepts the syntax accepted + by RE2 and described at [](https://golang.org/s/re2syntax). You can + use tools like [](https://regex101.com/?flavor=golang) to verify your + conditions. ### Author can merge (PRs)