common: Add auto-caching NickHighlightMatcher
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 1 Sep 2018 21:33:03 +0000 (16:33 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 3 Sep 2018 20:12:02 +0000 (22:12 +0200)
Add NickHighlightMatcher class to unify handling of nick highlight
matching in Quassel, including automatically updating the expression
matcher instance as needed per network.

Cached ExpressionMatch objects are updated on demand after any change
in nickname configuration or active/configured nicks.

This lays the foundation for performance and readibility improvements
in future commits.


No differences found