Looking for objective-c Keywords? Try Ask4Keywords

Objective-C LanguageNSRegularExpression


Syntaxe

  • NSRegularExpression * regex = [NSRegularExpression regularExpressionWithPattern: options PATTERN: erreur OPTIONS: ERROR];
  • NSArray <NSTextCheckingResult *> * results = [regex matchesInString: options STRING: plage OPTIONS: RANGE_IN_STRING];
  • NSInteger numberOfMatches = [regex numberOfMatchesInString: options STRING: plage OPTIONS: RANGE_IN_STRING];

NSRegularExpression Exemples Liés