Feature: Collating Elements
Home | Features | Improve this section
A Collating Element is one or more characters that collate as a single unit.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
[[.col.]]
— Matches the collating element col if col is treated as a single collating unit in the current locale. Example:[[.ae.]-c]
matches a single character in the range “ae”-“c”. col may also be specified by a symbolic name.
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
- Equivalence Classes
- Character Class Escapes
- Line Endings Escape
- Character Property Escapes
- Character Class Nested Set
- Character Class Intersection
- Character Class Union
- Character Class Subtraction
- Character Class Symmetric Difference
- Character Class Complement