made non match function case sensitive configurable too