...
This section contains information on how special capture group references are managed.
...
source value | replace transform | replacement |
---|
foobar | Code Block |
---|
replace col:MyColumn with:'$$f' on:'f' |
| $foobar |
foobar | Code Block |
---|
replace col:MyColumn with:'$2' on:`(f)(o)(o)bar` |
Note that the on parameter is a . | o |
Positive and Negative Lookaheads
In regular expressions, you can use positive and negative lookahead capture groups to capture content that is conditionally followed or not followed by a specified capture group.
Type | Example expression | |
---|
Positive lookahead | | Capture the letter q only when it is followed by the letter u . Letter u is not captured. |
Negative lookahead | | Capture the letter q when it is not followed by the letter u . Letter u is not captured. |