• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is this a bug in Cocoa 'isLike' ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a bug in Cocoa 'isLike' ?


  • Subject: Re: Is this a bug in Cocoa 'isLike' ?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 7 Apr 2008 16:43:46 +0200

If this is not a bug in Cocoa, so it's a bug in the documentation, so you can fill a bug report.

Le 7 avr. 08 à 16:26, Matt Burnett a écrit :

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


References: 
 >Is this a bug in Cocoa 'isLike' ? (From: Yvan BARTHÉLEMY <email@hidden>)
 >Re: Is this a bug in Cocoa 'isLike' ? (From: Matt Burnett <email@hidden>)

  • Prev by Date: Re: Constraining a NSSlider to Certain Values
  • Next by Date: Re: Obj-C idioms for list based tasks
  • Previous by thread: Re: Is this a bug in Cocoa 'isLike' ?
  • Next by thread: NSURLConnection status updates
  • Index(es):
    • Date
    • Thread