about summary refs log tree commit diff
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rwxr-xr-xMisc/globtests1
-rwxr-xr-xMisc/globtests.ksh1
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/globtests b/Misc/globtests
index 3bd634ca9..b1e25bb0c 100755
--- a/Misc/globtests
+++ b/Misc/globtests
@@ -75,6 +75,7 @@ f mad.moo.cow   (*~*.*).(*~*.*)
 t moo.cow       (^*.*).(^*.*)
 f sane.moo.cow  (^*.*).(^*.*)
 f mucca.pazza   mu(^c#)?.pa(^z#)?
+f _foo~         _(|*[^~])
 t fff           ((^f))
 t fff           ((^f)#)
 t fff           ((^f)##)
diff --git a/Misc/globtests.ksh b/Misc/globtests.ksh
index 839637af4..6a9bf9b0e 100755
--- a/Misc/globtests.ksh
+++ b/Misc/globtests.ksh
@@ -68,6 +68,7 @@ t foobar        !(foo)*
 t moo.cow       !(*.*).!(*.*)
 f mad.moo.cow   !(*.*).!(*.*)
 f mucca.pazza   mu!(*(c))?.pa!(*(z))?
+f _foo~         _?(*[^~])
 t fff           !(f)
 t fff           *(!(f))
 t fff           +(!(f))