in reply to Test:: to match multiple lines against corresponding regular expressions

> And I can do it with one go with Test::Deep

Do you mean

use Test::Deep; cmp_deeply \@lines, bag(map re($_), @regexen);
?
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: Test:: to match multiple lines against corresponding regular expressions
by Dallaylaen (Chaplain) on Jun 26, 2018 at 15:28 UTC
    Yes, and even without bag because I need to preserve order. Still I'd like to have a message about all mismatches, not just the first one.