match failure with simple expression
Status: Beta
Brought to you by:
jengelhart
The following statement produces no result (NULL), changing the pattern to [^\t\n]+ fixes it also changing the newline in the search string to a tab produces a result
[@"a\tb\nc" rangesOfRegex:@"[^\t]+" inRange:NSMakeRange( 1,2 )];
This may be a bug with PCRE
Simple project showing bug