Left-hand side of the comparison.
Right-hand side of the comparison.
The server case mapping to apply.
true if lhs and rhs are deemed to be case-insensitively equal; false if not.
immutable c = IRCServer.CaseMapping.rfc1459; assert("joe".opEqualsCaseInsensitive("JOE", c)); assert("joe".opEqualsCaseInsensitive("joe", c)); assert(!"joe".opEqualsCaseInsensitive("Bengt", c)); assert(!"joe".opEqualsCaseInsensitive("", c)); assert("^o^".opEqualsCaseInsensitive("~o~", c)); assert("[derp]FACE".opEqualsCaseInsensitive("{DERP]face", c)); assert("C:\\".opEqualsCaseInsensitive("c:|", c));
Compares two strings to see if they match if case is ignored.
Only works with ASCII.