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) -> NSTextCheckingResultParameters
- 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
rangesarray. - regularExpression:
The regular expression.
Return Value
Returns an NSTextCheckingResult with the specified range and a resultType of regularExpression.