Re: Grep Support in Cocoa
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.