One option if you want to be explicit about pre-compiling the regexes would be to make an `@lazy` method that computes the compiled patterns based on the values in the settings. (https://pypi.python.org/pypi/lazy)