Add regex examples for match, matchall, each match

Also change 's3' variable to 'r' for consistancy