We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f73ca commit bef6821Copy full SHA for bef6821
source/reference/operator/regex.txt
@@ -67,7 +67,7 @@ $regex
67
68
.. code-block:: javascript
69
70
- db.collection.find( { field: $regex: /acme.*corp/i, $nin: [ 'acmeblahcorp' } );
+ db.collection.find( { field: { $regex: /acme.*corp/i, $nin: [ 'acmeblahcorp' ] } );
71
72
This expression returns all instances of ``field`` in
73
``collection`` that match the case insensitive regular expression
0 commit comments