[CDRIVER-206] using mongo-c-driver can not use regular expressions containing forward slash (/) Created: 12/Apr/13 Updated: 12/Nov/13 Resolved: 12/Nov/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.7 |
| Fix Version/s: | 0.90.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joshua Stillerman | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | query | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Redhat linux |
||
| Description |
|
I am trying to use the C-API for mongo DB. I want to find records with a name matching a regular expression containing slashes ) |
| Comments |
| Comment by Christian Hergert [ 12/Nov/13 ] |
|
Hi, You do not need to include the forward-slash when building a regex. I've added a test for this using the new C driver here[1] which you can use as an example. |