[ANN] AGRegex 0.3
[ANN] AGRegex 0.3
- Subject: [ANN] AGRegex 0.3
- From: Aram Greenman <email@hidden>
- Date: Tue, 25 Mar 2003 16:35:17 -0800
AGRegex provides Perl-compatible pattern matching and substitution to
Cocoa applications using the PCRE library. For example, if you have
some Perl code like this:
$str = "paranoid android";
$str =~ s/(paran|andr)oid/\u$&/g;
you can write the same thing with AGRegex like this:
NSString *str = @"paranoid android";
str = [[AGRegex regexWithPattern:@"(paran|andr)oid"]
replaceWithString:@"\\u$&" inString:str];
New in version 0.3:
- Updated PCRE core to 4.0.
- Supports Unicode.
- Supports named subpatterns like Python.
- Builds on GNUstep, thanks to Scott Anderson.
AGRegex is freely available under BSD license at:
<
http://sourceforge.net/projects/agkit>
or by anonymous CVS:
% cvs -d:pserver:email@hidden:/cvsroot/agkit login
% cvs -z3 -d:pserver:email@hidden:/cvsroot/agkit co
AGRegex
_______________________________________________
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.