diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-17 12:47:41 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-17 12:51:23 +0200 |
commit | c808de25515f9c977270a0663796ce34d1c81fd1 (patch) | |
tree | 9493b5c0c317d5d2195f2eaaa4a4fba3c4654d2f /doc/ci/variables | |
parent | 8b3e21b66b734b38e88f63727ee77b978ea21bfc (diff) | |
download | gitlab-ce-c808de25515f9c977270a0663796ce34d1c81fd1.tar.gz |
Update variables expressions pattern matching docs
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/README.md | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 58acc030aee..f66b2b374ba 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -537,11 +537,8 @@ 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. + Pattern matching is case-sensitive by default. Use `i` flag modifier, like + `/pattern/i` to make a pattern case-insensitive. ### Unsupported predefined variables @@ -583,5 +580,3 @@ 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 |