Which Python module is used for regular expressions?
-
A
regex
-
B
re
Correct answer
-
C
string
-
D
pattern
15 views
Explanation
The re module provides regular expression matching operations similar to Perl.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ