---
title: caseInsensitive
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsregularexpression/options-swift.struct/caseinsensitive
---

# caseInsensitive

Match letters in the pattern independent of case.

## Declaration

```swift
static var caseInsensitive: NSRegularExpression.Options { get }
```

## See Also

### Constants

- [allowCommentsAndWhitespace](foundation/nsregularexpression/options-swift.struct/allowcommentsandwhitespace.md)
- [ignoreMetacharacters](foundation/nsregularexpression/options-swift.struct/ignoremetacharacters.md)
- [dotMatchesLineSeparators](foundation/nsregularexpression/options-swift.struct/dotmatcheslineseparators.md)
- [anchorsMatchLines](foundation/nsregularexpression/options-swift.struct/anchorsmatchlines.md)
- [useUnixLineSeparators](foundation/nsregularexpression/options-swift.struct/useunixlineseparators.md)
- [useUnicodeWordBoundaries](foundation/nsregularexpression/options-swift.struct/useunicodewordboundaries.md)
