Increased overall matching efficiency

Compiling the regex patterns once is a lot faster than recompiling all
the patterns everytime a LoggingEvent is fired.