using right tokenizer for regexs