• 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: Using regex.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using regex.h


  • Subject: Re: Using regex.h
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 26 Nov 2004 14:58:13 -0800


On Nov 26, 2004, at 2:07 PM, Andrew Farmer wrote:

and remember that + (NSString) stringWithCString; and - (NSString) cString; are your friends.

As friends, + stringWithCString: and -cString are rather fickle. They may give rise to problems related to encoding, and should be considered deprecated. You are encouraged to use initWithBytes:length:encoding: (or initWithBytesNoCopy:length:encoding:freeWhenDone:) and dataUsingEncoding:allowLossyConversion: instead.

mmalc



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Using regex.h (From: Oliver Cameron <email@hidden>)
 >Re: Using regex.h (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: Using regex.h
  • Next by Date: [Moderator] Cocoa and list resources
  • Previous by thread: Re: Using regex.h
  • Next by thread: NSMatrix -allowsEmptySelection (but doesn't)
  • Index(es):
    • Date
    • Thread