`ignoreregex` is not a boolean value, imho it makes more sense to use `None` here.