+ 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.
1 Réponse
+ 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