Contents

ignoresCase(_:)

Returns a regular expression that ignores case when matching.

Declaration

func ignoresCase(_ ignoresCase: Bool = true) -> Regex<Regex<Output>.RegexOutput>

Parameters

  • ignoresCase:

    A Boolean value indicating whether to ignore case.

Return Value

The modified regular expression.