• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Regular Expressions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular Expressions?


  • Subject: Re: Regular Expressions?
  • From: "Cemil Browne" <email@hidden>
  • Date: Fri, 6 Jun 2008 18:22:40 +1000

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@hidden> 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 (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
>>
>>
>
> _______________________________________________
>
> 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 <email@hidden>
>
_______________________________________________

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

  • Follow-Ups:
    • Re: Regular Expressions?
      • From: dream cat7 <email@hidden>
References: 
 >Regular Expressions? (From: "Cemil Browne" <email@hidden>)
 >Re: Regular Expressions? (From: Citizen <email@hidden>)

  • Prev by Date: Re: Regular Expressions?
  • Next by Date: Using NSSortDescriptor to reverse sort an NSArray containing NSString objects
  • Previous by thread: Re: Regular Expressions?
  • Next by thread: Re: Regular Expressions?
  • Index(es):
    • Date
    • Thread