LearnBoost/mongoose — Issue #599: Regex: Error: Can't use $regex with Array.
Author: Steren
Created: 2011-11-07 17:12:30+00:00
State: open

When I query:
find({ name: {$regex: 'abc'} })

If've got Error: Can't use $regex with Array.

The same query works when I use directly the mongo shell.
I'm using mongoose 2.3.10 and mongo 2.0