The #11132 missed singleton characters (not part
[p5sagit/p5-mst-13.2.git] / t / op / pat.t
index ff692d2..57dc2f2 100755 (executable)
@@ -6,7 +6,7 @@
 
 $| = 1;
 
-print "1..664\n";
+print "1..672\n";
 
 BEGIN {
     chdir 't' if -d 't';
@@ -1904,3 +1904,28 @@ print "ok 663\n";
 print "not " unless chr(0xfb4f) =~ /\p{InHebrew}/; # outside HebrewBlock
 print "ok 664\n";
 
+print "not " unless chr(0xb5) =~ /\p{InGreek}/; # singleton (not in a range)
+print "ok 665\n";
+
+print "not " unless chr(0x37a) =~ /\p{InGreek}/; # singleton
+print "ok 666\n";
+
+print "not " unless chr(0x386) =~ /\p{InGreek}/; # singleton
+print "ok 667\n";
+
+print "not " unless chr(0x387) =~ /\P{InGreek}/; # not there
+print "ok 668\n";
+
+print "not " unless chr(0x388) =~ /\p{InGreek}/; # range
+print "ok 669\n";
+
+print "not " unless chr(0x38a) =~ /\p{InGreek}/; # range
+print "ok 670\n";
+
+print "not " unless chr(0x38b) =~ /\P{InGreek}/; # not there
+print "ok 671\n";
+
+print "not " unless chr(0x38c) =~ /\p{InGreek}/; # singleton
+print "ok 672\n";
+
+