Feature: Line Endings Escape
Home | Features | Improve this section
A Line Endings Escape is an Atom that matches any line ending character sequence.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
\R
— Equivalent to(?>\r\n?|[\x0A-\x0C\x85\u{2028}\u{2029}])
Engines
Engine | Supported |
---|---|
Perl | ✔ |
PCRE | ✔ |
Boost.Regex | ✔ |
.NET | ❌ |
Oniguruma | ✔ |
Hyperscan | ❌ |
ICU | ✔ |
Glib/GRegex | ✔ |
ECMAScript | ❌ |
See Also
- Character Classes
- Posix Character Classes
- Negated Posix Character Classes
- Collating Elements
- Equivalence Classes
- Character Class Escapes
- Character Property Escapes
- Character Class Nested Set
- Character Class Intersection
- Character Class Union
- Character Class Subtraction
- Character Class Symmetric Difference
- Character Class Complement