mirror-chatterino2/tests/src
pajlada 0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
..
HighlightPhrase.cpp Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890) 2020-08-22 15:37:03 +02:00
main.cpp Add tests for the UsernameSet and Prefix classes 2019-05-11 14:17:52 +02:00
UsernameSet.cpp Add tests for the UsernameSet and Prefix classes 2019-05-11 14:17:52 +02:00