this regex should match most cases where the user forgets to put an operator somewhere and add an OR, it still
does not handle nested square brackets but those are invalid anyways
this page has an explanation https://regex101.com/r/fF7wO1/2
* the way this regex grabs conflicting matches is b...
Submitted by warnock - 8 years ago