diff --git a/README.md b/README.md index 1f321b6..9831804 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ The syntax is `{ field: { $op: value } }` where `$op` is any comparison operator * `$in`: member of. `value` must be an array of values * `$ne`, `$nin`: not equal, not a member of * `$exists`: checks whether the document posses the property `field`. `value` should be true or false -* `$regex`: checks whether a string is matched by the regular expression. Contrary to MongoDB, the use of `$options` with `$regex` is not supported, because it doesn't give you more power than regex flags. Basic queries are more readable so only use the `$regex` when you need to use another operator with it (see example below) +* `$regex`: checks whether a string is matched by the regular expression. Contrary to MongoDB, the use of `$options` with `$regex` is not supported, because it doesn't give you more power than regex flags. Basic queries are more readable so only use the `$regex` operator when you need to use another operator with it (see example below) ```javascript // $lt, $lte, $gt and $gte work on numbers and strings