Feature: Anchors
Home | Features | Improve this section
Anchors match the start or end of a line.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
^— Matches the start of a line when them(multiline) flag is set. Otherwise, matches the start of the input.$— Matches the end of a line when them(multiline) flag is set. Otherwise, matches the end of the input.
Engines
| Engine | Supported |
|---|---|
| Perl | ✔ |
| PCRE | ✔ |
| Boost.Regex | ✔ |
| .NET | ✔ |
| Oniguruma | ✔ |
| Hyperscan | ✔ |
| ICU | ✔ |
| Glib/GRegex | ✔ |
| ECMAScript | ✔ |