Fix parameter count on match_from and implement tests for Regexp