ignore case and '-' vs '_' differences when maching on enum/flag nick/name
Submitted by Behdad Esfahbod
g_enum/flag_get_value_by_nick/name should ignore case differences and '-' vs '_'. This just makes a lot of sense.
Maybe even add a glib function that does this kind of comparison. I need it in pango where I want to do this for markup attribute name matching.