Search s[] for last match with pattern.
String to search.
Regular expression pattern.
index into s[] of match if found, -1 if no match.
auto s = "abcabcabab"; rfind(s, RegExp("b")); // match, returns 9 rfind(s, RegExp("f")); // no match, returns -1
See Implementation
Search s[] for last match with pattern.