Detect excluded tags with insensitive case modifier on regexps