it's probably not necessary for this, but I try to keep regexps factored out and near the top of the file or function