[SERVER-275] support {$regex:'foo', $options:'bar'} syntax in queries Created: 02/Sep/09  Updated: 12/Jul/16  Resolved: 19/Oct/09

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 1.1.3

Type: Improvement Priority: Trivial - P5
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

It is silly to compile regexen in a driver language only to deconstruct them for mongo. This also makes it easier to represent a query in pure json (useful in my app). Please make $options optional.



 Comments   
Comment by auto [ 19/Oct/09 ]

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: Support {:'foo', :'bar'} syntax in queries. SERVER-275
http://github.com/mongodb/mongo/commit/8190d8db538c629973a3a581a97251b22b668c7a

Comment by Eliot Horowitz (Inactive) [ 15/Sep/09 ]

easy to add in matcher.cpp - just need to convert $regex to a regex[]

Generated at Thu Feb 08 02:53:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.