$regex throws incorrect error with an empty string argument #1874
In 0.7.1.2, a query such as
This is because the argument checking logic doesn't account for
@glasser, it's too bad that
As an alternative, I'm considering sending both numeric and string valued fields for this, containing the same value, which would seem to be pretty inefficient.