diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-18 15:24:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-18 15:24:50 +0000 |
commit | 097fb8e2acde8522bd4ee4e5e00d3d2b810e2e56 (patch) | |
tree | 120af15df280bf1c52905c88cd22cd17a10fcd88 /lib/utf8.t | |
parent | 8218ea5d24f5de0a37393f19671aa5631c088be7 (diff) | |
download | perl-097fb8e2acde8522bd4ee4e5e00d3d2b810e2e56.tar.gz |
Make the utf8 malformedness messages more verbose.
p4raw-id: //depot/perl@13757
Diffstat (limited to 'lib/utf8.t')
-rw-r--r-- | lib/utf8.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utf8.t b/lib/utf8.t index ee3c258cf5..aaa06853f1 100644 --- a/lib/utf8.t +++ b/lib/utf8.t @@ -159,7 +159,7 @@ plan tests => 94; use utf8; %a = ("\xE1\xA0"=>"sterling"); print 'start'; printf '%x,', ord \$_ foreach keys %a; print "end\n"; BANG - qr/^Malformed UTF-8 character \(2 bytes, need 3\).*start\d+,end$/s + qr/^Malformed UTF-8 character \(2 bytes, need 3.+\).*start\d+,end$/s ], ); foreach (@tests) { |