What does the re.findall() function return?

Automate Cybersecurity Tasks with Python | Weekly challenge 3 Quiz | 

What does the re.findall() function return?

  • The first match to a regular expression in a given string
  • All occurrences of the pattern “re” in a given string
  • A list of all matches to a regular expression in a given string
  • All possible regular expressions that match to a given string

 

Leave a Comment