Contents

regularExpressionCheckingResult(ranges:count:regularExpression:)

Creates and returns a type checking result with the specified regular expression data.

Declaration

class func regularExpressionCheckingResult(ranges: NSRangePointer, count: Int, regularExpression: NSRegularExpression) -> NSTextCheckingResult

Parameters

  • ranges:

    A C array of ranges, which must have at least one element, and the first element represents the overall range.

  • count:

    The number of items in the ranges array.

  • regularExpression:

    The regular expression.

Return Value

Returns an NSTextCheckingResult with the specified range and a resultType of regularExpression.

See Also

Text Checking Results for Regular Expressions