Thanks to everyone who replied - I appreciate the help. The best solution I've found (and been told) is to use a third party Regex library - http://regexkit.sourceforge.net/ appears to be decent.
NSScanner does not really appear to do what I'm looking for - but is useful to know about regardless. Thanks all, -Cemil On Fri, Jun 6, 2008 at 6:11 PM, Citizen <[EMAIL PROTECTED]> wrote: > If you are not married to using regular expressions, NSScanner can do much > the same in a more verbose (generally easier to read) way. I only mention > this because it is often overlooked. > > > On 6 Jun 2008, at 08:31, Cemil Browne wrote: > > Hi all, >> >> This might be a really silly question - but am I missing something >> obvious? >> Is there any support at all for regular expressions in the Cocoa >> libraries? >> >> I can't find anything and I've found some third-party frameworks - but >> surely something so necessary must be buried in the string classes >> somewhere? How would I do a simple substring search or replace in 10.4? >> >> Thanks, >> Cemil >> _______________________________________________ >> >> 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/citizen%40zenopolis.com >> >> This email sent to [EMAIL PROTECTED] >> >> > > _______________________________________________ > > 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/cemilb%2Bcocoadev%40gmail.com > > This email sent to [EMAIL PROTECTED] <[EMAIL PROTECTED]> > _______________________________________________ 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]