nocase_distance

support.text.nocase_distance(aa, bb)

same as distance() but ignores case