diff options
author | imp <imp@FreeBSD.org> | 2006-01-08 05:18:36 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-01-08 05:18:36 +0000 |
commit | 4f9a9122c65d8ecf1b8eadef2ceaa8db0a6e0acb (patch) | |
tree | 959dbaf137064aa53281406aeb69c90a45fc8574 | |
parent | fcd1cfe267e3b935573a5372f553b87b28089171 (diff) | |
download | FreeBSD-src-4f9a9122c65d8ecf1b8eadef2ceaa8db0a6e0acb.zip FreeBSD-src-4f9a9122c65d8ecf1b8eadef2ceaa8db0a6e0acb.tar.gz |
It was always intended that regular expression matching be case
insensitive. Make it so.
-rw-r--r-- | sbin/devd/devd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index c7b4e43..47a2257 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -166,7 +166,7 @@ match::match(config &c, const char *var, const char *re) _re = "^"; _re.append(c.expand_string(string(re))); _re.append("$"); - regcomp(&_regex, _re.c_str(), REG_EXTENDED | REG_NOSUB); + regcomp(&_regex, _re.c_str(), REG_EXTENDED | REG_NOSUB | REG_ICASE); } match::~match() |