regex matching question

bullockbefriending bard kinch1967 at gmail.com
Sat May 19 20:20:57 EDT 2007


> Here "all pairs different" means "for each pair, both numbers must be  
> different", but they may appear in another pair. That is, won't flag  
> "1,2/3,4/3,5/2,6/8,3/1,2" as invalid, but this wasn't clear from your  
> original post.
>
> --
> Gabriel Genellina

thanks! you are correct that the 'all pairs different' nomenclature is
ambiguous. i require that each pair have different values, but is OK
for different pairs to be identical... so exactly as per your code
snippet.




More information about the Python-list mailing list