When events are reordered, it never detects success.
The win command contains this:
"git log main --oneline | grep -Pz "shoes[\s\S]*pants[\s\S]*underwear""
which doesn't appear to be valid. When I run the same command in terminal, I get the message:
"usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]"
OS: macOS Mojave
Grep version: grep (BSD grep) 2.5.1-FreeBSD