Would be far simpler to just call toLower here, given the simplicity of characters involved I'd go for std.ascii.toLower as it doesn't look for anything beyond ASCII.