Whether the pattern should be case sensitive. This is ignored if regex is true.
final bool caseSensitive;