Re: parsing string data
Re: parsing string data
- Subject: Re: parsing string data
- From: j o a r <email@hidden>
- Date: Thu, 20 Dec 2007 08:40:09 -0800
On Dec 20, 2007, at 8:30 AM, C Sandeep wrote:
I have experience in perl/python, where I would have setup regular
expressions to catch the headers.
However Im at loss on how to do the same in objective-c & cocoa. Any
help is appreciated.
Unfortunately there is no comprehensive regex facility in Cocoa. That
said, it seems that you should be able to accomplish what you want by
using NSScanner. Another way to do it might be to include one of the
many third party Cocoa / C regex libraries that exists (see: Google).
What solution to choose would depend on your needs regarding:
performance, licensing restrictions, unicode support, etc.
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden