FROM : Chris Hanson
DATE : Wed Sep 05 20:59:08 2007
On Sep 5, 2007, at 8:29 AM, Thomas Clément wrote:
> Isn't NSPredicate providing what you're looking for ?
An NSComparisonPredicate using NSMatchesPredicateOpertorType can only
tell you whether a whole string matches a specified ICU regular
expression.
It can't get you the matched range of a substring, the number of
subexpressions in the regular expression, or the matched ranges for
individual subexpressions as a full regular expression class would be
able to.
-- Chris
DATE : Wed Sep 05 20:59:08 2007
On Sep 5, 2007, at 8:29 AM, Thomas Clément wrote:
> Isn't NSPredicate providing what you're looking for ?
An NSComparisonPredicate using NSMatchesPredicateOpertorType can only
tell you whether a whole string matches a specified ICU regular
expression.
It can't get you the matched range of a substring, the number of
subexpressions in the regular expression, or the matched ranges for
individual subexpressions as a full regular expression class would be
able to.
-- Chris






Cocoa mail archive

