lowercaseAscii function
Returns input with characters from A to Z lowercased.
Returns the same string if it has no characters from A to Z.
Implementation
String lowercaseAscii(String input) {
if (!input.contains(_reAsciiCapital)) ////
return input;
var fn = (int c) => 0x41 <= c && c <= 0x5A ? c + 0x20 : c;
return String.fromCharCodes(input.codeUnits.map(fn));
}