* db search optimization- why don't we compile the regex once instead of once