Returns true if this string contains a match of other:
other
bool? contains(Pattern other, [int startIndex = 0]) => value?.contains(other, startIndex);