Comment: then, either:
Comment: 1. fruit apple, followed by things that are not "fruit", followed by fruit banana, non-fruits, and then fruit cherry, or vice versa
\ba Unicode word boundary
fruitthe literal text fruit (case sensitive) \ba Unicode word boundary
\ the literal (3210 / 408 / 2016)
applethe literal text apple (case sensitive) *repeats the group contents below any number of times:
Negative Lookahead(?!\bfruit\b) \ba Unicode word boundary
fruitthe literal text fruit (case sensitive) \ba Unicode word boundary
.any Unicode character
Group 4(\bfruit\b\ banana((?!\bfruit\b).)*fruit\ cherry|fruit\ cherry((?!\bfruit\b).)*fruit\ banana) 1st Alternative\bfruit\b\ banana((?!\bfruit\b).)*fruit\ cherry \ba Unicode word boundary
fruitthe literal text fruit (case sensitive) \ba Unicode word boundary
\ the literal (3210 / 408 / 2016)
bananathe literal text banana (case sensitive) *repeats the group contents below any number of times:
Negative Lookahead(?!\bfruit\b) \ba Unicode word boundary
fruitthe literal text fruit (case sensitive) \ba Unicode word boundary
.any Unicode character
fruitthe literal text fruit (case sensitive) \ the literal (3210 / 408 / 2016)
cherrythe literal text cherry (case sensitive) 2nd Alternativefruit\ cherry((?!\bfruit\b).)*fruit\ banana fruitthe literal text fruit (case sensitive) \ the literal (3210 / 408 / 2016)
cherrythe literal text cherry (case sensitive) *repeats the group contents below any number of times:
Negative Lookahead(?!\bfruit\b) \ba Unicode word boundary
fruitthe literal text fruit (case sensitive) \ba Unicode word boundary
.any Unicode character
fruitthe literal text fruit (case sensitive) \ the literal (3210 / 408 / 2016)
bananathe literal text banana (case sensitive)