Python Multiple Choice Questions – Regular Expressions
This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “Regular Expressions”. 1. Which module in Python supports regular expressions? a) re b) regex c) pyregex d) none of the mentioned 2. Which of the following creates a pattern object? a) re.create(str) b) re.regex(str) c) re.compile(str) d) re.assemble(str) 3. What does the function … Read more