Skip to content

Commit

Permalink
set filter defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
getreu committed Jan 8, 2020
1 parent 356f2d6 commit 79d7b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mission.rs
Expand Up @@ -28,7 +28,7 @@ use std::str::FromStr;
/// Unless otherwise specified on the command line, his filter is default for
/// ASCII-encoding searches.
pub const UTF8_FILTER_ASCII_MODE_DEFAULT: Utf8Filter = Utf8Filter {
af: AF_ALL & !AF_CTRL | AF_WHITESPACE,
af: AF_ALL & !AF_CTRL,
ubf: UBF_NONE,
grep_char: None,
};
Expand All @@ -42,7 +42,7 @@ pub const UTF8_FILTER_ASCII_MODE_DEFAULT: Utf8Filter = Utf8Filter {
/// Unless otherwise specified on the command line, this filter
/// is default for non-ASCII-encoding searches.
pub const UTF8_FILTER_NON_ASCII_MODE_DEFAULT: Utf8Filter = Utf8Filter {
af: AF_ALL & !AF_CTRL | AF_WHITESPACE,
af: AF_ALL & !AF_CTRL,
ubf: UBF_COMMON,
grep_char: None,
};
Expand Down

0 comments on commit 79d7b92

Please sign in to comment.