• 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: Is there a regular expression class for Objective C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a regular expression class for Objective C?


  • Subject: Re: Is there a regular expression class for Objective C?
  • From: Brian Bergstrand <email@hidden>
  • Date: Thu, 13 May 2004 11:16:32 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

PCRE <http://www.pcre.org/> handles UTF-8, and it compiles cleanly on
OS X. Plus, it provides a BSD regex interface and expanded regex
operators (those from Perl).

./configure --enable-utf8
make
sudo make install

Then you can call regexec([str UTF8String]. ...)

HTH.

On May 13, 2004, at 10:16 AM, Nicko van Someren wrote:

> Does anyone on this list know of a good regular expression class for
> use from Objective-C? I know that I can link against the BSD regex
> library but I'd prefer to have something that has a better
> understanding of NSString objects and unicode characters. Otherwise I
> have to spend time dealing with encoding issues and remapping unicode
> chars in the expression into byte sets for regex. Any thoughts?
>
Brian Bergstrand <http://www.bergstrand.org/brian/>, AIM: triryche206
PGP Key: <http://www.bergstrand.org/brian/misc/public_key.txt>
For the skeptic there remains only one consolation: if there should be
such a thing as superhuman law it is administered with subhuman
inefficiency. - Eric Ambler


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQKORV3nR2Fu2x7aiEQImvwCeMa7fK62w5zBCArWkhJR3mslFIZoAoKAS
oewxbtAlVHgu1QxXjUv7SpIU
=9kiA
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Is there a regular expression class for Objective C? (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: Searching ADC (was Re: cursor image)
  • Next by Date: Cocoa Programming for Mac OS X (SE)
  • Previous by thread: Is there a regular expression class for Objective C?
  • Next by thread: Re: Is there a regular expression class for Objective C?
  • Index(es):
    • Date
    • Thread