add string replace --filter flag

Fixes #3348
This commit is contained in:
Kurtis Rader
2017-04-27 21:53:39 -07:00
parent 48d5342601
commit 16816a1202
6 changed files with 93 additions and 60 deletions

View File

@@ -5,7 +5,7 @@ string match: ^
# string invalidarg
string: Unknown subcommand 'invalidarg'
Standard input (line 167):
Standard input (line 183):
string invalidarg; and echo "unexpected exit 0" >&2
^
@@ -29,6 +29,6 @@ string repeat: Expected argument
# string repeat -l fakearg 2>&1
string repeat: Unknown option '-l'
Standard input (line 268):
Standard input (line 284):
string repeat -l fakearg
^