Replaced calls to std.string and std.ctype's tolower with their toLower counterparts.

This commit is contained in:
jmdavis 2011-06-12 15:41:27 -07:00
parent d10ee6c2f6
commit 654f35a677
8 changed files with 16 additions and 16 deletions

View file

@ -2723,7 +2723,7 @@ assert(!find(a, 2).empty); // found
// Case-insensitive find of a string
string[] s = [ "Hello", "world", "!" ];
assert(!find!("tolower(a) == b")(s, "hello").empty);
assert(!find!("toLower(a) == b")(s, "hello").empty);
----
*/
R find(alias pred = "a == b", R, E)(R haystack, E needle)
@ -6462,7 +6462,7 @@ unittest
sort(a);
assert(isSorted(a));
auto b = rndstuff!(string);
sort!("tolower(a) < tolower(b)")(b);
sort!("toLower(a) < toLower(b)")(b);
assert(isSorted!("toupper(a) < toupper(b)")(b));
}