UnicodeEscape class

Matcher that matches characters based on their Unicode properties.

Supported syntaxes:

\p{UnicodePropertyValue}

\p{UnicodePropertyName=UnicodePropertyValue}

Negated form is available by replacing p with P.

Reference: Mozilla Unicode Property Escapes

Implemented types
Available Extensions

Constructors

UnicodeEscape(String value, {bool negated = false})
Creates a RegExpComponent that matches based on either raw Unicode property value or a pair of Unicode property name and property value.
const
UnicodeEscape.byNameAndValue({required String name, required String value, bool negated = false})
Creates a RegExpComponent based on pair of Unicode property name and property value
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
negated bool
If true, p will be replaced with P instead
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Stands for either UnicodePropertyValue or UnicodePropertyName=UnicodePropertyValue format
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited