regularExpressionCheckingResultWithRanges static method

NSTextCheckingResult regularExpressionCheckingResultWithRanges(
  1. NSRangePointer ranges, {
  2. required DartNSUInteger count,
  3. required NSRegularExpression regularExpression,
})

regularExpressionCheckingResultWithRanges:count:regularExpression:

Implementation

static NSTextCheckingResult regularExpressionCheckingResultWithRanges(
  NSRangePointer ranges, {
  required DartNSUInteger count,
  required NSRegularExpression regularExpression,
}) {
  objc.checkOsVersionInternal(
    'NSTextCheckingResult.regularExpressionCheckingResultWithRanges:count:regularExpression:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  final _ret = _objc_msgSend_1fs7dv0(
    _class_NSTextCheckingResult,
    _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_,
    ranges,
    count,
    regularExpression.ref.pointer,
  );
  return NSTextCheckingResult.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}