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

# dotMatchesLineSeparators

Allow . to match any character, including line separators.

## Declaration

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

## See Also

### Constants

- [caseInsensitive](foundation/nsregularexpression/options-swift.struct/caseinsensitive.md)
- [allowCommentsAndWhitespace](foundation/nsregularexpression/options-swift.struct/allowcommentsandwhitespace.md)
- [ignoreMetacharacters](foundation/nsregularexpression/options-swift.struct/ignoremetacharacters.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)
