[DOCS-4265] Comment on: "manual/reference/operator/query/regex.txt" Created: 29/Oct/14 Updated: 16/Mar/15 Resolved: 05/Nov/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.13 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chris Findlay | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/reference/operator/query/regex/ |
||
| Participants: | |
| Days since reply: | 9 years, 14 weeks, 5 days ago |
| Description |
|
This page mentions that Mongo uses PCRE, and specifies that you must use $regex over /.../ to pass PCRE-only options. However, it does not mention what version of PCRE is used, nor what build options were used (e.g. UTF-8, UTF-16 etc), and does not mention that you also need to use $regex if your pattern contains features that PCRE supports but JS does not. |
| Comments |
| Comment by Kay Kim (Inactive) [ 07/Nov/14 ] | |||||||||||||||||||||
|
Published the various fixes today : ) | |||||||||||||||||||||
| Comment by Kay Kim (Inactive) [ 06/Nov/14 ] | |||||||||||||||||||||
|
Thanks Chris – | |||||||||||||||||||||
| Comment by Chris Findlay [ 05/Nov/14 ] | |||||||||||||||||||||
|
I just noticed something else on the current live page: | |||||||||||||||||||||
| Comment by Githook User [ 05/Nov/14 ] | |||||||||||||||||||||
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: | |||||||||||||||||||||
| Comment by Kay Kim (Inactive) [ 04/Nov/14 ] | |||||||||||||||||||||
|
no worries. just wanted to double check : ) | |||||||||||||||||||||
| Comment by Chris Findlay [ 03/Nov/14 ] | |||||||||||||||||||||
|
I can't find my example now that was failing. I must have had a typo in it as I can't replicate that problem either. | |||||||||||||||||||||
| Comment by Kay Kim (Inactive) [ 03/Nov/14 ] | |||||||||||||||||||||
|
Hi Chris – But regarding the comment about the aggregation and $options, I am able to use the $options in the $match phase:
| |||||||||||||||||||||
| Comment by Chris Findlay [ 31/Oct/14 ] | |||||||||||||||||||||
|
Additionally, it seems I can't use
|