Which method in python regex is used to convert a string into pattern object?

1
re.create(str)
2
re.compile(str)
3
re.assemble(str)
4
re.regex(str)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation