bug in tokenizer/string regex