Tokenizer: Brackets in regular expression
Notice: This thread is very old.
- David Matějka
- Moderator | 6445
because you are creating another capturing group, which breaks tokenizer,
because tokenizer creates exactly one capturing group for every token. you have
to change it to non-capturing group using ?:
- nanuqcz
- Member | 822
David Matějka wrote:
because you are creating another capturing group, which breaks tokenizer, because tokenizer creates exactly one capturing group for every token. you have to change it to non-capturing group using
?:
Now it's clear for me with the (?:
syntax.
Thanks for everyone ;-)