Andy Lester wrote:
> Lets you check the dollar vars of your results
> 
>     matches_are( "dog food", qr/dog(.+)/, 1=>"food", "Matched OK" );
> 
> or
> 
>     matches_are( "first middle end", qr/middle|center/,
>         "&" => "middle", "`" => "first " );
> 
> Eventually we'll handle the punc vars, but for now this will do.
> 
> Thoughts?

What kind of useful diagnostics could this module emit in case of
failure? IMO they have to be precisely detailed.

Reply via email to