From 6cdc48f8ee9faae4393f1987de35fd861e8d63ec Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 25 Dec 2011 14:24:42 -0700 Subject: [PATCH] re/reg_fold.t: Use /u rules for Unicode tests These tests are for Unicode, so should have /u (instead of /d). --- t/re/reg_fold.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/re/reg_fold.t b/t/re/reg_fold.t index 50ccc88..45a2813 100644 --- a/t/re/reg_fold.t +++ b/t/re/reg_fold.t @@ -45,7 +45,7 @@ while (<$fh>) { } } $lhs = "\"$lhs\""; - $rhs = "/^$rhs\$/i"; + $rhs = "/^$rhs\$/iu"; # Try both Latin1 and Unicode for code points below 256 foreach my $upgrade ("", 'utf8::upgrade($c); ') { -- 2.7.4