regex property

RegExp? regex
final

If value is wrapped in slashes (e.g. /foo/), this holds the compiled RegExp.

Implementation

final RegExp? regex;