Substitution
Pattern | Description |
---|---|
\0 | Complete match contents |
\1 | Contents in capture group 1 |
$1 | Contents in capture group 1 |
${foo} | Contents in capture group foo |
\x20 | Hexadecimal replacement values |
\x{06fa} | Hexadecimal replacement values |
\t | Tab |
\r | Carriage return |
\n | Newline |
\f | Form-feed |
\U | Uppercase Transformation |
\L | Lowercase Transformation |
\E | Terminate any Transformation |
Comments