def search_to_regexps(terms):
    return [re.compile(re.escape(term)) for term in terms]
Returns an Instance to handle a request or None if all are busy.
dataset/ETHPy150Open edgewall/trac/trac/search/api.py/search_to_regexps--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/BasicScalingServer._choose_instance