Returns true if the sequence of elements of searchString converted to a String is the
same as the corresponding elements of this object (converted to a String) starting at
position. Otherwise returns false.
Returns true if the sequence of elements of searchString converted to a String is the
same as the corresponding elements of this object (converted to a String) starting at
endPosition – length(this). Otherwise returns false.
If you need case-insensitive matching or other regex features, the string methods won’t work as direct replacements.
This rule ignores patterns with the i (case-insensitive) or m (multiline) flags.