MyBB Community Forums

Full Version: searching the forum with AND/OR operator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Exactly what is process of the input box for the search when you search the whole post.

I am looking for the OR as well as the AND operator.


selenium or beautifulsoup
returning results with either or


selenium and beautifulsoup


returning results with both "selenium" and "beautifulsoup" in the text?
Here is the relevant code for Full Text: https://github.com/mybb/mybb/blob/featur...h.php#L262
i tried using regex but i am pretty lousy at it.
I tried

^(?=.*\bselenium\b)(?=.*\bbeautifulsoup\b).*$

but it doesnt return any results. Nor does

selenium|beautifulsoup