0 votes
in Python by

What does the search method of re module do?

i) No such method exists

ii) It matches the pattern at any position of the string. 

iii) It matches a pattern at the start of the string.

iv) It matches the pattern at end of the string.

1 Answer

0 votes
by
Correct answer is ii) It matches the pattern at any position of the string.
...