Add pattern constants and test escaped chars
Add repeat pattern to token splitter