Create new regexes with global flag when creating regex tokeniser
Verify that first matching rule is used by regex tokeniser