code: def re(self, *parts):
  		
  		
  		if self._combining:  # We are a field-compound query fragment, e.g. (Foo.bar & Foo.baz).
  			return reduce(self._combining, (q.re(*parts) for q in self._field))
  		
  		return Filter({self._name: {'$regex': ''.join(parts)}})
docs: Matches string values against a regular expression compiled of individual parts.
  		
  			Document.field.re(r'^', variable_part, r'\\.')
  		
  		Regex operator: {$regex: value}
  		Documentation: https://docs.mongodb.com/manual/reference/operator/query/regex/