Precompile $regex filters recursively
Precompile $regex filters recursively

find({ "name": { $not: { $regex: '^S' }}})
would result in a "b.test is not a function" error, because $regex would not
have been compiled.

techfort/LokiJS,techfort/LokiJS