add whole match group, fix split implementation, update test cases, change name to Regexp