Returns true if this char sequence matches the given regular expression.
true
bool matches(RegExp regex) => regex.hasMatch(this);