3 C<minlen> speaks bytes, not characters.
8 use Test::More tests => 3;
9 use re::engine::Plugin (
10 comp => sub { shift->minlen(5) },
13 pass "Called with $str";
18 is(length $str, 5, "$str is 5 char long"); # Chars
19 $str =~ /pattern/; # no ->exec
22 is(length $str, 4, "$str is 4 char long"); # Chars
23 $str =~ /pattern/; # yes ->exec