On Mar 3, 2008, at 10:12 AM, Jonathan Dann wrote:

On 3 Mar 2008, at 16:16, Mike Abdullah <[EMAIL PROTECTED]> wrote:

Jonathon, you'll have much better luck with NSScanner. It's designed for exactly what you want.

Mike.


Thanks Mike, just tried it and it works quite well. Any way of using NSScanner directly with regex? Not sure if its really necessary for my code but would probably be very useful, alternatively I'll just use NSPredicate to avoid scanning for stuff that isn't there.

I'd highly recommend <https://sourceforge.net/projects/regexkit/>

Dave

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to