• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Grep Support in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grep Support in Cocoa


  • Subject: Re: Grep Support in Cocoa
  • From: Tae-Won Ha <email@hidden>
  • Date: Tue, 11 Mar 2003 00:02:33 +0100

First of all, I have to say that I'm a very newbie to regex.
I downloaded the MOKit and looked at the API-Ref. I've got a question:
What is meant by that index in
- (NSRange)rangeForSubexpressionAtIndex:(unsigned)index inString:(NSString)
The index of the subexpression range to return? Does this mean that: there are 3 matches and if I want to get the range of 2nd match I have to enter 2 for index?
--
Tae. =)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: cocoa-dev digest, Vol 2 #2043 - 16 msgs
  • Next by Date: Re: Grep Support in Cocoa
  • Previous by thread: Re: Grep Support in Cocoa
  • Next by thread: Re: Grep Support in Cocoa
  • Index(es):
    • Date
    • Thread