Feature: Equivalence Classes
Home | Features | Improve this section
An Equivalence Class matches any character or collating element with the same primary sort key as the provided collating element.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
[[=col=]]— Matches any character with the same primary sort key as col. Example:[[=a=]]matchesa,À,Á,Â,Ã,Ä,Å,A,à,á,â, etc.
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
- 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