diff options
author | Daniel <kingdread@gmx.de> | 2020-04-25 13:22:00 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-04-25 13:22:00 +0200 |
commit | 9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9 (patch) | |
tree | 63544e8764b55563a48d3f9fd530b0381f42a277 /src/fexpr/grammar.lalrpop | |
parent | 5dbea93266c3a30dac5ec6f5a7915d73a440f573 (diff) | |
download | raidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.tar.gz raidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.tar.bz2 raidgrep-9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9.zip |
add -include and -exclude
Diffstat (limited to 'src/fexpr/grammar.lalrpop')
-rw-r--r-- | src/fexpr/grammar.lalrpop | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop index d8f64fa..58ec052 100644 --- a/src/fexpr/grammar.lalrpop +++ b/src/fexpr/grammar.lalrpop @@ -54,6 +54,9 @@ LogPredicate: Box<dyn filters::log::LogFilter> = { "-boss" <Comma<Boss>> => filters::log::boss(<>), + "-include" => filters::constant(true), + "-exclude" => filters::constant(false), + "-player" <Regex> => filters::player::any( filters::player::character(<>.clone()) | filters::player::account(<>) |