Make the $or->$in rewrite indepent on the place where a regex appears in the $or. Add tests to ensure the rewrite is order-independent.
Make the $or->$in rewrite indepent on the place where a regex appears in the $or. Add tests to ensure the rewrite is order-independent.