Re: Wildcard in NSString
Re: Wildcard in NSString
- Subject: Re: Wildcard in NSString
- From: Marc Weil <email@hidden>
- Date: Fri, 04 Jul 2003 08:18:41 -0400
This method of comparison is usually contained in an PCRE (Perl-compatible
Regular Expression) library. I would recommend using MOKit's
MORegularExpression for this. Just Google for it to get the web site; I
can't remember it off-hand.
- Marc
On 7/4/03 7:54 AM, "Partha" <email@hidden> wrote:
>
Hi,
>
>
I have two NSStrings, say, @"ABCD" and @"A*D". The '*' character in the second
>
NSString is actually a wildcard. Is there any simple method, which, when these
>
strings are compared, will return YES?
>
>
In other word, is there any simple method for comparing two strings, one of
>
them having wildcards?
>
>
Thanks for your time.
>
>
Partha
_______________________________________________
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.