From 395e3e59650e0245b21a79c135232359e5e77dd4 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Thu, 11 Jul 2013 12:50:18 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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