aa-notify: precompile filter regexes
Precompile each filter regex with re.compile so they don't need to be recompiled for each log message when using re.match directly.
Signed-off-by: Georgia Garcia georgia.garcia@canonical.com
Precompile each filter regex with re.compile so they don't need to be recompiled for each log message when using re.match directly.
Signed-off-by: Georgia Garcia georgia.garcia@canonical.com