[Solved] If I use string.contains() on a string that may have regular expressions [closed]


String.contains() accepts CharSequence as argument and doesn’t “trigger” regexes that it or processing string may contain.

Returns true if and only if this string contains the specified sequence of char values.

From here.

solved If I use string.contains() on a string that may have regular expressions [closed]