What does $operator contain?
As a general comment: .+? at the start or end of a regex will never match anything - don't do that. It's also good practise to use a character set in place of . when using * to avoid capturing more than you intend.
In reply to Re: Something is wrong with this pattern
by GrandFather
in thread Something is wrong with this pattern
by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |