diff options
author | Daniel <kingdread@gmx.de> | 2020-04-25 12:56:47 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-04-25 12:56:47 +0200 |
commit | 509e5817e6e035e762840c00fb95b18253b1d269 (patch) | |
tree | c67d5336c5c35b80733b7c9389bf131a252f109c /evtclib | |
parent | d124265bee159193090f085343b8523bc6387620 (diff) | |
download | raidgrep-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 'evtclib')
0 files changed, 0 insertions, 0 deletions