Initial implementation regexp_matches_positions