A better logic for the language matches, r=humphd
0.0.9
New logic
0.0.10