The second argument of a contains, endswith or startswith method call should be regex escaped before being used to create a regex. Otherwise, the method call contains(A, '.') results in the regex /./gi, which matches any one character instead of just ..
The second argument of a
contains
,endswith
orstartswith
method call should be regex escaped before being used to create a regex. Otherwise, the method callcontains(A, '.')
results in the regex/./gi
, which matches any one character instead of just.
.