- Index
- »
- axon
- »
- func:reFindAll
def
func:reFindAll
reFindAll(regex, s)
Find all matches of the regular expression in s
. Returns an empty list of there are no matches.
Examples:
reFindAll(r"-?\d+\.?\d*", "foo, 123, bar, 456.78, -9, baz") >> ["123", "456.78", "-9"] reFindAll(r"\d+", "foo, bar, baz") >> [,]