in reply to Re: Guessing/Ordering Partial Data
in thread Guessing/Ordering Partial Data

I Like Zaxo

Output after running and using Data::Dumper is

$VAR1 = { 'Place de la Gare - Bergerac' => 1, 'Place De La Gare - Angers' => 0, 'Place Thiers - Nancy' => 0, 'Place De La Gare - Rennes' => 1, 'Place de la Gare' => 1, 'Place De La Gare - Nevers' => 0, 'Place De La Gare - Grenoble' => 0, 'Place De La Gare 1 - Grenoble' => 0, 'Place De La Gare - Angers' => 0, 'Place de la Gare - Libourne' => 1, 'Place de la Gare - Moutiers' => 1, 'Place Mohammed V - Oujda' => 0, 'Place De La Gare' => 0, 'Place Du Chateau - Galerie Marchande Du Rer' => 0, 'Place de la Gare - Quimper' => 1, 'Place De La Gare - Nevers' => 0, 'Place De La Gare - Rennes' => 1 };

I would have though that the Rennes match would have a score of 2, it looks to me that its case sensitive (as re-running with the input as 'Place De La Gare' instead of 'Place de la Gare' scores as i would expect. I dont however get why this is seeing as the regex is using -i ?