klyn.regex.RegExMatcher.find
method
public native find() as Boolean throws RegExException
Description

Searches for the next occurrence of the regular expression.

Returns

true when another match was found, otherwise false.

Throws
  • RegExException if the regular expression cannot be evaluated.
Example
matcher = RegEx(r"\d+").matcher("A12 B34")
print(matcher.find())  # true
print(matcher.find())  # true
print(matcher.find())  # false