[CSHARP-260] JsonReader fails on some forms of regular expressions Created: 05/Jul/11 Updated: 02/Apr/15 Resolved: 06/Jul/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.1 |
| Fix Version/s: | 1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Here are some examples of JSON documents that JsonReader fails to parse: { rx : new RegExp("abc") }{ rx : { $regex : "abc" }} There may be others... |
| Comments |
| Comment by Robert Stam [ 06/Jul/11 ] |
|
Added support for: { rx : new RegExp("abc") } { rx : new RegExp("abc", "imxs") } { rx : RegExp("abc") } { rx : RegExp("abc", "imxs") }{ rx : { $regex : "abc" } } } The last two were partially supported (was: no unquoted strings for $regex and $options and $options was required). |