numberOfMatchesInString method
DartNSUInteger
numberOfMatchesInString(
- NSString string, {
- required NSMatchingOptions options,
- required NSRange range,
numberOfMatchesInString:options:range:
Implementation
DartNSUInteger numberOfMatchesInString(
objc.NSString string, {
required NSMatchingOptions options,
required NSRange range,
}) {
objc.checkOsVersionInternal(
'NSRegularExpression.numberOfMatchesInString:options:range:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 7, 0)),
);
return _objc_msgSend_1rbikrg(
this.ref.pointer,
_sel_numberOfMatchesInString_options_range_,
string.ref.pointer,
options.value,
range,
);
}