asRegExp property

RegExp get asRegExp

Implementation

RegExp get asRegExp => this is RegExp ? this as RegExp : RegExp(toString());