Skip to content

Commit

Permalink
Merge pull request #4099 from kppullin/patch-1
Browse files Browse the repository at this point in the history
Docs - Update capture group `placeholder`
  • Loading branch information
k8s-ci-robot authored May 18, 2019
2 parents 1bd3fd2 + 3ef6689 commit 0f13d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/rewrite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
' | kubectl create -f -
```

In this ingress definition, any characters captured by `(.*)` will be assigned to the placeholder `$1`, which is then used as a parameter in the `rewrite-target` annotation.
In this ingress definition, any characters captured by `(.*)` will be assigned to the placeholder `$2`, which is then used as a parameter in the `rewrite-target` annotation.

For example, the ingress definition above will result in the following rewrites:
- `rewrite.bar.com/something` rewrites to `rewrite.bar.com/`
Expand Down

0 comments on commit 0f13d65

Please sign in to comment.