What does re.compile() provide in Python?
Correct answer
A. A reusable compiled pattern object
6 views
A. A reusable compiled pattern object
6 views
Compiling a pattern lets you reuse it for many matches.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.