aboutsummaryrefslogtreecommitdiff
path: root/src/filters/player.rs
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-04-25 12:56:47 +0200
committerDaniel <kingdread@gmx.de>2020-04-25 12:56:47 +0200
commit509e5817e6e035e762840c00fb95b18253b1d269 (patch)
treec67d5336c5c35b80733b7c9389bf131a252f109c /src/filters/player.rs
parentd124265bee159193090f085343b8523bc6387620 (diff)
downloadraidgrep-509e5817e6e035e762840c00fb95b18253b1d269.tar.gz
raidgrep-509e5817e6e035e762840c00fb95b18253b1d269.tar.bz2
raidgrep-509e5817e6e035e762840c00fb95b18253b1d269.zip
only try regex if word doesn't start with -
Since our predicates start with -, this sounds like a good heuristic to prevent something like "raidgrep -- -player" from silently succeeding but not doing what the user had intended. In this case, we want the parse error to show and not treat "-player" as a regex.
Diffstat (limited to 'src/filters/player.rs')
0 files changed, 0 insertions, 0 deletions