M. Warner Losh wrote:
This works. However, matches should already be case insensitive. If they aren't, then I need to investigate why not.
My reading of regex(3) says that the reg_comp at line 173 of devd.cc needs to add the REG_ICASE flag. i.e.
regcomp(&_regex, _re.c_str(), REG_EXTENDED | REG_NOSUB | REG_ICASE); Testing seeems to show that adding that flag makes "match" case-insensitive. Regards, Gary _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"