diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-15 15:18:18 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-15 15:18:18 +0200 |
commit | f52de2f73cc9d26c26fd66c23892ac42bf973b05 (patch) | |
tree | fde78876e6526ba3cea0f33cf33500ff9ad255d6 /doc/ci | |
parent | 73aee958e2f4f7428a961c3c63323a7b782599bf (diff) | |
download | gitlab-ce-f52de2f73cc9d26c26fd66c23892ac42bf973b05.tar.gz |
Make variables expression pattern case-sensitivity explicit
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/variables/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index cbd2ab979f4..58acc030aee 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -537,6 +537,12 @@ Below you can find supported syntax reference: It is possible perform pattern matching against a variable and regular expression. Expression like this evaluates to truth if matches are found. + Pattern matching is case-sensitive by default. Prepend `(?i)` to a + match-group to make a pattern case-insensitive. + + Under the hood we are using [RE2 library][re2-library], see + [syntax documentation][re2-syntax] for reference. + ### Unsupported predefined variables Because GitLab evaluates variables before creating jobs, we do not support a @@ -577,3 +583,5 @@ These variables are also not supported in a context of a [builds-policies]: ../yaml/README.md#only-and-except-complex [dynamic-environments]: ../environments.md#dynamic-environments [gitlab-deploy-token]: ../../user/project/deploy_tokens/index.md#gitlab-deploy-token +[re2-library]: https://github.com/google/re2 +[re2-syntax]: https://github.com/google/re2/wiki/Syntax |