trigger: fix regex used in default triggers to hide passwords (closes #172)

"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).

(cherry picked from commit 333253e5b9ba3431ee0ea1242d8195ddb1fa5c62)