def apply_selector(objs, selector):
out = []<EOL>for obj in objs:<EOL><INDENT>timer.log('<STR_LIT>' % selector)<EOL>out += list(jsonselect.match(selector, objs))<EOL>timer.log('<STR_LIT>')<EOL><DEDENT>return out<EOL>
Returns a list of objects which match the selector in any of objs.