1👍
✅
http://docs.mongodb.org/manual/reference/operator/query/regex/#syntax-restrictions
Your regular expressions are incorrect. Try these instead.
Job.objects(__raw__={'attributes.Skills.Skill' : {'$in' : [/.*java.*/i]}}) #ignoring sql for now
Job.objects(__raw__={'attributes.Skills.Skill' : {'$in' : ['sql',re.compile('.*java.*', re.IGNORECASE)]}})
Source:stackexchange.com