Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4ba4c6

Browse files
author
LRubin
authored
Merge pull request docker#421 from aureliojargas/patch-1
Fix regex capture groups syntax
2 parents 0855374 + 1f826f9 commit f4ba4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-cloud/builds/automated-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ You can use the variable `{sourceref}` to use the branch or tag name that
151151
matched the regex. (The variable includes the whole source name, not just the
152152
portion that matched the regex.) You can also use up to nine regular expression
153153
capture groups (expressions enclosed in parentheses) to select a source to
154-
build, and reference these in the Docker Tag field using `{/1}` through `{/9}`.
154+
build, and reference these in the Docker Tag field using `{\1}` through `{\9}`.
155155

156156
**Regex example: build from version number branch and tag with version number**
157157

0 commit comments

Comments
 (0)