use Perl6::Form; $text = <{width=>50}}, ' {[[[[[[[[[[[[{*}]]]]]]]]]]]]}', $text; $text = <{width=>50}, ws=>qr/\s+/}, ' {[[[[[[[[[[[[{*}]]]]]]]]]]]]}', $text; __END__