Podcast Beta
Questions and Answers
What does the regular expression m\w\w
represent?
What is the function of the compile()
method?
What does the search()
method return if the matching string is not found?
What is the purpose of the group()
method?
Signup and view all the answers
What is the difference between the match()
and search()
methods?
Signup and view all the answers
What does the findall()
method return if the matching strings are not found?
Signup and view all the answers
What is the purpose of the re
module?
Signup and view all the answers
What is the function of the regular expression \w
?
Signup and view all the answers
What is the purpose of the Prog=re.compile(r'm\w\w')
line of code?
Signup and view all the answers
What is the function of the Result=Prog.search(Str)
line of code?
Signup and view all the answers