Move regexes to the DB, compile once

Will allow for user-entered regexes in the future
Also reduces rx compilations to once per page