Question #559

Which function converts a regular expression pattern to a regular expression object?

re.compile() compiles a regular expression pattern into a regular expression object, which can be used for matching using its match() , search() and other methods. (docs.python.org/3.4/library/re.html)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵