ignoresCase(_:)
Returns a regular expression that ignores case when matching.
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
func ignoresCase(_ ignoresCase: Bool = true) -> Regex<Regex<Output>.RegexOutput>
Parameters
- ignoresCase
A Boolean value indicating whether to ignore case.
Returns
The modified regular expression.