1.

Which module in Python supports regular expressions?(a) re(b) regex(c) pyregex(d) none of the mentionedI got this question during an interview for a job.The above asked question is from Regular Expressions in section Regular Expressions and Files of Python

Answer»

Correct CHOICE is (a) re

The EXPLANATION is: re is a PART of the STANDARD LIBRARY and can be imported using: import re.



Discussion

No Comment Found

Related InterviewSolutions