split(by:)

This version supports capture groups, wheres the one above doesn’t

PreTokenizer.swift:302
func split(by captureRegex: NSRegularExpression) -> [String]