FROM : Jiva DeVoe
DATE : Mon Apr 11 07:58:57 2005
Sounds like you probably want some regexp capabilities.
I think (have not searched google) that omni has some frameworks that
do this. If not, I think MOKit does.
On Apr 10, 2005, at 1:06 PM, jjoonathan wrote:
> I am making an app which allows an array to be searched by a string
> which contains wildcards (the *, and ?, etc). I am currently using the
> isLike: method of NSString, but I ran into a problem. I want the
> search string to be able to contain [ and ] characters that are not
> part of the pattern. So, @"*[ABC]*" would match @"123[ABC]456", not
> @"123[A]456", @"123[B]456", or @"123[C]456". Any ideas? Is there
> another method which allows comparisons just by wildcards?
>
> Thanks in advance,
> jjoonathan
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
--
Jiva DeVoe
http://www.devoesquared.com
PowerCard - Intuitive Project Management for Mac OS X
DATE : Mon Apr 11 07:58:57 2005
Sounds like you probably want some regexp capabilities.
I think (have not searched google) that omni has some frameworks that
do this. If not, I think MOKit does.
On Apr 10, 2005, at 1:06 PM, jjoonathan wrote:
> I am making an app which allows an array to be searched by a string
> which contains wildcards (the *, and ?, etc). I am currently using the
> isLike: method of NSString, but I ran into a problem. I want the
> search string to be able to contain [ and ] characters that are not
> part of the pattern. So, @"*[ABC]*" would match @"123[ABC]456", not
> @"123[A]456", @"123[B]456", or @"123[C]456". Any ideas? Is there
> another method which allows comparisons just by wildcards?
>
> Thanks in advance,
> jjoonathan
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
--
Jiva DeVoe
http://www.devoesquared.com
PowerCard - Intuitive Project Management for Mac OS X
| Related mails | Author | Date |
|---|---|---|
| jjoonathan | Apr 10, 22:06 | |
| Jiva DeVoe | Apr 11, 07:58 | |
| Charilaos Skiadas | Apr 11, 08:34 | |
| jjoonathan | Apr 11, 22:24 | |
| Charilaos Skiadas | Apr 12, 01:27 |






Cocoa mail archive

