* Fixed parse_tokens when comment (other than at start of query) contains question mark
* also optimized it to avoid compiling new regexp on each invocation