Re: extracting html from text file
Re: extracting html from text file
- Subject: Re: extracting html from text file
- From: Ondra Cada <email@hidden>
- Date: Wed, 3 Jul 2002 18:23:03 +0200
On Wednesday, July 3, 2002, at 05:14 , Koen van der Drift wrote:
Can I eg read the text in an NSString, and then scan the text with
regular expressions (like in perl). Or does Cocoa alread have clesses
that do such things?
The standard Cocoa way is NSScanner; alas there are no regexps in
Foundation. You can get some 3rd party implementations though, like in
Mike Ferris' MOKit.
Another way, quite handy in case your data happen to be 8-bit only, might
be to use flex/bison for your parsing. Alas they become next to unusable
with Unicode.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.