diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-05-31 23:14:03 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-05-31 23:24:08 +0200 |
commit | 8d6735cb4194094b6f3e41573bbfffeb3d49d6ea (patch) | |
tree | 3b06c79b003a377bf9c087e5dd10415cee750f1d /tests | |
parent | 3d74b160b3f1a7c424f38b815320b14bc712eb69 (diff) |
Make string match -rnv work
Fixes #3098.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/string.in | 2 | ||||
-rw-r--r-- | tests/string.out | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/string.in b/tests/string.in index ac858618..15feb4f5 100644 --- a/tests/string.in +++ b/tests/string.in @@ -88,3 +88,5 @@ string length 2>/dev/null; or echo "missing argument returns 0" string match -r -v "[dcantg].*" dog can cat diz; or echo "no regexp invert match" string match -v "???" dog can cat diz; or echo "no glob invert match" + +string match -rvn a bbb diff --git a/tests/string.out b/tests/string.out index bd3fff45..7afc267f 100644 --- a/tests/string.out +++ b/tests/string.out @@ -62,3 +62,4 @@ invalid argument error missing argument returns 0 no regexp invert match no glob invert match +1 3 |