caching regexp in hopes for greater performance