D-Programming-Language/phobos — pull request #557 by Chabsf (2012-04-30 03:20:06+00:00)
Title: Issue 4744:  std.conv: string->enum doesn't look for longer match

parse now loops over every member of the enum and returns the longest match (instead of the first one).

http://d.puremagic.com/issues/show_bug.cgi?id=4744

I think that's the right way to propose a fix. Apologies if it's not the right channel.