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.

Related questions

0 votes
asked Jan 17, 2021 in Python by SakshiSharma
0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
...