Feature: Character Class Intersection
Home | Features | Improve this section
Character Class Intersection allows you to indicate that only characters that are in both character classes should match.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
[…&&…]
— Matches any character that is in both the left- and right-hand sets of&&
.
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
- Line Endings Escape
- Character Property Escapes
- Character Class Nested Set
- Character Class Union
- Character Class Subtraction
- Character Class Symmetric Difference
- Character Class Complement