Name

matchAll()

Examples
s = "Inside tags, you will find <tag>multiple</tag>"
s += "<tag>pieces</tag>of <tag>content</tag>."
m = matchAll(s, "<tag>(.*?)</tag>")
for i in range(len(m)): 
    print("Found '" + m[i][1] + "' inside a tag.")
# Prints to the console:
# "Found 'multiple' inside a tag."
# "Found 'pieces' inside a tag."
# "Found 'content' inside a tag."
Description
Syntax
matchAll(str, regexp)
Parameters
str
regexp
Related match()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License