• 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: dream cat7 <email@hidden>
  • Date: Fri, 6 Jun 2008 17:10:06 +0100

... pcre takes utf8 strings
... utf-16 is supported by RegexKitLite & lib ICU

... NSString and CFString are implemented as utf-16

On 6 Jun 2008, at 16:02, Jason Stephenson wrote:

Replying to myself here, which I know is generally a bad thing, but this thought just came to me.

I have yet to find a regex library that handles UTF-16 well, if at all. I actually spent a couple of hours yesterday trying to mangle some UTF-16 files in Perl using regular expressions. I gave up and did it in Emacs, the only environment where I've seen REs handle UTF16 properly.

So, that's now my mission, to come up with a RE library that handles UTF16 as gracefully as 7 bit ASCII.

Cheers,
Jason
_______________________________________________

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


References: 
 >Regular Expressions? (From: "Cemil Browne" <email@hidden>)
 >Re: Regular Expressions? (From: Citizen <email@hidden>)
 >Re: Regular Expressions? (From: "Cemil Browne" <email@hidden>)
 >Re: Regular Expressions? (From: dream cat7 <email@hidden>)
 >Re: Regular Expressions? (From: "Vincent E." <email@hidden>)
 >Re: Regular Expressions? (From: dream cat7 <email@hidden>)
 >Re: Regular Expressions? (From: "Vincent E." <email@hidden>)
 >Re: Regular Expressions? (From: dream cat7 <email@hidden>)
 >Re: Regular Expressions? (From: Jason Stephenson <email@hidden>)
 >Re: Regular Expressions? (From: Jason Stephenson <email@hidden>)

  • Prev by Date: Re: NSWindow does not support utility styleMask 0x10 ???
  • Next by Date: [Newbie] Proper class releasing
  • Previous by thread: Re: Regular Expressions?
  • Next by thread: Re: Regular Expressions?
  • Index(es):
    • Date
    • Thread