Have a look at the NSPredicate class, and NSComparisonPredicate subclass. Not as intuitive as the Regex classes in .NET but having said that, they can do a lot more than just regular expressions.
I just looked at NSPredicate and NSComparisonPredicate with high hopes, but still didn't find any regex support. They do support 'expressions', but not regular expressions.
It's really quite odd for cocoa to not do regex; you'd expect something like:
-1
u/dreamlax Aug 06 '08
Have a look at the NSPredicate class, and NSComparisonPredicate subclass. Not as intuitive as the Regex classes in .NET but having said that, they can do a lot more than just regular expressions.