|Subject:||panic: swash_fetch got swatch of unexpected bit width|
After upgrading to perl 5.20.2 my code fails with message: 'panic: swash_fetch got swatch of unexpected bit width, slen=1024, needents=64' Simple test case attached. On perl 5.20.1 this code works without panic. The bug is subtle and is not reproduced after small modifications to test case (like storing string in intermediate variable).
#!/usr/bin/perl use utf8; use open qw/:std :encoding(utf8)/; use Devel::Peek; my $x = "0005 RU ÐÐ¾ÑÐºÐ²Ð°"; $x =~ /^(.*?)\s(.*)$/; #Dump($2); warn lc($2);