split input string into an array of tokens.

String#split will include the matched sequence in its output if it is wrapped in a capture group.