Contents

ignoresCase(_:)

Returns a regular expression that ignores case when matching.

Declaration

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

Parameters

  • ignoresCase:

    A Boolean value indicating whether to ignore case.

Return Value

The modified regular expression.