mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:15:57 +00:00
fix inverse rule to only mean negative regexp matching except for whole rule (refs #631)
This commit is contained in:
@@ -792,6 +792,11 @@ class Pref_Filters extends Handler_Protected {
|
||||
style=\"font-size : 16px; width : 20em;\"
|
||||
name=\"reg_exp\" value=\"$reg_exp\"/>";
|
||||
|
||||
print "<hr/>";
|
||||
print "<input id=\"filterDlg_inverse\" dojoType=\"dijit.form.CheckBox\"
|
||||
name=\"inverse\" $inverse_checked/>";
|
||||
print "<label for=\"filterDlg_inverse\">".__("Inverse regular expression matching")."</label>";
|
||||
|
||||
print "<hr/>" . __("on field") . " ";
|
||||
print_select_hash("filter_type", $filter_type, $filter_types,
|
||||
'dojoType="dijit.form.Select"');
|
||||
@@ -806,13 +811,6 @@ class Pref_Filters extends Handler_Protected {
|
||||
'dojoType="dijit.form.FilteringSelect"');
|
||||
print "</span>";
|
||||
|
||||
print "<p>";
|
||||
|
||||
print "<input id=\"filterDlg_inverse\" dojoType=\"dijit.form.CheckBox\"
|
||||
name=\"inverse\" $inverse_checked/>";
|
||||
|
||||
print "<label for=\"filterDlg_inverse\">".__("Inverse matching")."</label>";
|
||||
|
||||
print "</div>";
|
||||
|
||||
print "<div class=\"dlgButtons\">";
|
||||
|
||||
Reference in New Issue
Block a user