Document pattern ranges on the patterns page.
This commit is contained in:
parent
664fa1e942
commit
c6bfd05c81
1 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,14 @@ It's also ok to mix wildcard patterns and groups at the same time::
|
|||
|
||||
one*.com:dbservers
|
||||
|
||||
As an advanced usage, you can also select the numbered server in a group::
|
||||
|
||||
webservers[0]
|
||||
|
||||
Or a portion of servers in a group::
|
||||
|
||||
webservers[0:25]
|
||||
|
||||
Most people don't specify patterns as regular expressions, but you can. Just start the pattern with a '~'::
|
||||
|
||||
~(web|db).*\.example\.com
|
||||
|
|
Loading…
Reference in a new issue