It surprises me how many monks in this thread seem to think that expressing the "no Z between ..." condition with .*? is a good idea.Maybe because it saves you from writing Z twice, which can be a maintenance issue? This is true especially if Z happens not to be just a latter, but a more complicated pattern.
In reply to Re^4: This regexp made simpler
by rovf
in thread This regexp made simpler
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |