pattern property Null safety

String pattern

The regular expression pattern source of this RegExp.

final regExp = RegExp(r'\p{L}');
print(regExp.pattern); // \p{L}

Implementation

String get pattern;