In xCode I want to look for my NSLog statements that are not prefaced by a { from the previous line.
So I want to not find:
if (debug) {
NSLog(@"MyDebug");
}
and only find.
x=y+3;
NSLog(@"MyDebug %d",x);
I was thinking something like : (?<!\{\r.*NSLog).*NSLog
or (?<!\{)\r.*NSLog(?!\{)
though that does not seem to get me anything.