From 71a9fdf67c8b9b74837d308dd0fb82b4ae783ac1 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Tue, 4 Aug 2015 17:53:48 +0200 Subject: [PATCH] Added more pattern tests --- samples/tests/pattern.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/tests/pattern.sh b/samples/tests/pattern.sh index c44e812..3d2a505 100755 --- a/samples/tests/pattern.sh +++ b/samples/tests/pattern.sh @@ -1,2 +1,7 @@ #!/bin/sh ./simple --pattern '*/passing' +./simple --pattern '!(*/passing)' +./simple --pattern '[pf]a@(ss|il)ing' +./simple --pattern '@(+(nest)ed))' +./simple --pattern '?(*(a|b))' +./simple --pattern '?(malformed'