client: Handle newlines in Ignore rule scope edit
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 1 Sep 2018 20:53:16 +0000 (15:53 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 3 Sep 2018 20:12:02 +0000 (22:12 +0200)
commita6586b5f46fd062982111c0154f66216727cbc3a
treecbb974211fedafb50676d237f97d0660036b1863
parent82530a03445572aad9997275e9c47c23aefabd0f
client: Handle newlines in Ignore rule scope edit

Handle "\n" and ";" as separator in scope rules.  This fixes using
newlines in the Configure Ignore Rule dialog.

Make use of ExpressionMatch::trimMultiWildcardWhitespace() to handle
all of the arcane details, unifying code into one place.
src/qtui/settingspages/ignorelistsettingspage.cpp