From 1f826f92c3c35c0835199188e8c32dead74c18b6 Mon Sep 17 00:00:00 2001 From: Aurelio Jargas Date: Wed, 2 Nov 2016 06:25:07 -0200 Subject: [PATCH] Fix regex capture groups syntax --- docker-cloud/builds/automated-build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-cloud/builds/automated-build.md b/docker-cloud/builds/automated-build.md index e323558a15ca..6367e82c18f0 100644 --- a/docker-cloud/builds/automated-build.md +++ b/docker-cloud/builds/automated-build.md @@ -151,7 +151,7 @@ You can use the variable `{sourceref}` to use the branch or tag name that matched the regex. (The variable includes the whole source name, not just the portion that matched the regex.) You can also use up to nine regular expression capture groups (expressions enclosed in parentheses) to select a source to -build, and reference these in the Docker Tag field using `{/1}` through `{/9}`. +build, and reference these in the Docker Tag field using `{\1}` through `{\9}`. **Regex example: build from version number branch and tag with version number**