replaceMatchesInString method

DartNSUInteger replaceMatchesInString(
  1. NSMutableString string, {
  2. required NSMatchingOptions options,
  3. required NSRange range,
  4. required NSString withTemplate,
})

replaceMatchesInString:options:range:withTemplate:

Implementation

DartNSUInteger replaceMatchesInString(
  objc.NSMutableString string, {
  required NSMatchingOptions options,
  required NSRange range,
  required objc.NSString withTemplate,
}) {
  objc.checkOsVersionInternal(
    'NSRegularExpression.replaceMatchesInString:options:range:withTemplate:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 7, 0)),
  );
  return _objc_msgSend_kgvd6q(
    this.ref.pointer,
    _sel_replaceMatchesInString_options_range_withTemplate_,
    string.ref.pointer,
    options.value,
    range,
    withTemplate.ref.pointer,
  );
}