[SERVER-68] regex on embedded objects Created: 26/May/09  Updated: 12/Jul/16  Resolved: 26/May/09

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: 0.9.3
Fix Version/s: 0.9.3

Type: Bug Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

db.test.save( { lst: [

{text:"find me"}

] } )
printjson( db.test.findOne(

{ "lst.text" : "find me" }

) )
printjson( db.test.findOne(

{ "lst.text" : /find me/ }

) )

the 2nd print gets null



 Comments   
Comment by Aaron Staple [ 26/May/09 ]

fixed, tested in regex.js

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