Re: Is this a bug in Cocoa 'isLike' ?
Re: Is this a bug in Cocoa 'isLike' ?
- Subject: Re: Is this a bug in Cocoa 'isLike' ?
- From: Matt Burnett <email@hidden>
- Date: Mon, 7 Apr 2008 09:26:45 -0500
Sounds like a bug to me. I have the same issue on a MBP with 10.5.2.
Although i suppose this could be 'working as intended' since the
pattern formats for isLike: dont seem to be well documented.
On Apr 7, 2008, at 9:11 AM, Yvan BARTHÉLEMY wrote:
On my machine (quite recent 20 inches iMac x86), following (reduced)
code seems to go in a infinite loop...
Checkpoint 2 is never reached. The number of 'x' characters is
important.
Should I send it in reporter ?
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSLog(@"Checkpoint 1");
[@"lxxxxxxxxxxxxxxxxxxxxxxlaxxxxxxl" isLike:@"*la"];
NSLog(@"Checkpoint 2");
[pool drain];
return 0;
}
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden