Named capture groups
The URL Regular Expression match for Cloudlets supports a maximum of nine numbered substitutions using capture groups.
When using named capture groups, use the following syntax before the regular expression (regex): (?P<name>regex). As the RE2 library supports named capture groups as numbered substitutions, use \n for the substitution string.
Remember that the maximum size of a regular expression is 256 characters.
Here's how a regex for Edge Redirector would look using both capture group methods:
Capture Group Type | Syntax |
Numbered Capture Group |
|
Named Capture Group |
|