+ 1

Which functions in the re module should I use in which situation?

Wow, it's the part of the course that covers regexes. It covers what you should put in the function arguments. What would be even better is if it covered which function to use in which situation in more detail.

17th Apr 2020, 10:43 PM
Allen Nelson
Allen Nelson - avatar
1 Answer
+ 2
Please use appropriate tags (python, regex). The first lesson in python regex chapter does explain the usage of several functions like match, search, findall, sub. https://www.sololearn.com/learn/Python/2475/ But when you are in doubt and need more detail, you can always check the official python docs, that says all you need to know. https://docs.python.org/3/library/re.html
18th Apr 2020, 3:07 AM
Tibor Santa
Tibor Santa - avatar