Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-13 Thread Alastair Houghton
On 10 Jun 2008, at 15:16, Chris Ridd wrote: On 10 Jun 2008, at 05:12, Mark Munz wrote: Just wishing for the problem to go away or blaming external criteria will almost guarantee that nothing gets done. Filing bugs is how you, the developer, communicate your needs to Apple. Since ICU is open

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-10 Thread Chris Ridd
On 10 Jun 2008, at 05:12, Mark Munz wrote: Just wishing for the problem to go away or blaming external criteria will almost guarantee that nothing gets done. Filing bugs is how you, the developer, communicate your needs to Apple. Since ICU is open source, the other productive thing to do

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-10 Thread Jens Alfke
On 9 Jun '08, at 10:38 PM, Michael Ash wrote: It's perfectly possible to write safe code that calls C str functions. My code is no more vulnerable than the next man's. You can call things like strnstr, pass the length of the NSData you're working on, and there is exactly zero risk of anything.

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-10 Thread Michael Ash
On Tue, Jun 10, 2008 at 8:20 AM, Jens Alfke [EMAIL PROTECTED] wrote: On 9 Jun '08, at 10:38 PM, Michael Ash wrote: It's perfectly possible to write safe code that calls C str functions. My code is no more vulnerable than the next man's. You can call things like strnstr, pass the length of

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Jens Alfke
On 7 Jun '08, at 10:24 AM, Kyle Sluder wrote: 1) There are certain basics like regex support that people are upset at Apple for not implementing because it seems like such an important part of the concept of strings. Agreed, and I made this argument many times while there. Part of the

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Jens Alfke
On 8 Jun '08, at 3:39 AM, Michael Ash wrote: I never cared about the lack of regex support personally, although I understand that people do use them. As far as a blessed solution goes, man regex gives you a library that's in libSystem and is part of POSIX, so it's as supported as you can get.

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Adam R. Maxwell
On Jun 9, 2008, at 8:12 PM, Jens Alfke wrote: On 7 Jun '08, at 10:24 AM, Kyle Sluder wrote: 1) There are certain basics like regex support that people are upset at Apple for not implementing because it seems like such an important part of the concept of strings. Agreed, and I made this

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Mark Munz
On 6/9/08, Adam R. Maxwell [EMAIL PROTECTED] wrote: Unfortunately, I think filing bug reports on this is a waste of time at this point. I'm still using AGRegex, which is based on a pretty ancient PCRE, but it's predated by (at least) MOKit and OFRegularExpression: Filing bugs against this

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Stuart Malin
On Jun 9, 2008, at 9:11 PM, Adam R. Maxwell wrote: I thought I read on the Xcode users list that Xcode is using ICU for regex find-and-replace, so it's too bad the rest of us can't use it. I recall the same. And further, I am of the understanding that NSPredicate uses ICU for its pattern

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-09 Thread Michael Ash
On Mon, Jun 9, 2008 at 8:17 PM, Jens Alfke [EMAIL PROTECTED] wrote: On 8 Jun '08, at 3:39 AM, Michael Ash wrote: I do this with a fair amount of regularity. NSString is unsuitable for working with data whose encoding is unknown or doubtful, and NSData doesn't have any string-like

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-08 Thread Michael Ash
On Sat, Jun 7, 2008 at 7:19 PM, Mark Munz [EMAIL PROTECTED] wrote: On 6/7/08, Michael Ash [EMAIL PROTECTED] wrote: Of course Mac OS X does come with a regex library, it just doesn't have an ObjC interface. There's more to what's available than Cocoa, and one of the great things about ObjC

3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread Jason Stephenson
Ilan Volow wrote: Back in the Jaguar-era when I had to write applications that made heavy use of XML and regular expressions, Cocoa-Java saved the day--no 3rd-party nonsense required. This in not a knock on Ilan. His mail just happens to embody an attitude that I see quite frequently on

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread Ken Ferry
In math, a result is 'elegant' if it just _does_ something, simply and quickly, rather than relying on a mass of machinery done elsewhere, that you either have to assume works or spend time understanding. A large dependency can make it harder to say what, exactly, are the key lynchpins that make

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread Kyle Sluder
On Sat, Jun 7, 2008 at 10:43 AM, Jason Stephenson [EMAIL PROTECTED] wrote: As someone who has worked on a number of 3rd party [open source and otherwise] frameworks, I wonder where this attitude comes from in the case of Cocoa/Mac OS X. I have some ideas, but I hesitate to share them. Four

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread glenn andreas
On Jun 7, 2008, at 12:37 PM, Kevin Grant wrote: It is possible to link your application through C to an interpreter like Python or Perl, and rely on the built-in regular expression libraries to do your work. If you really wanted to, you could fire off a call to /usr/bin/egrep. That last

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread Torsten Curdt
snip/ Agree with your sentiments. Not everything needs to be shipped by default. The only other environment where I've programmed that this same attitude may rear its head could be Java land, but even there that attitude does not seem to rear its head quite so often as it seems to on

Re: 3rd Party Nonsense (was Re: Regular Expressions?)

2008-06-07 Thread Mark Munz
On 6/7/08, Michael Ash [EMAIL PROTECTED] wrote: Of course Mac OS X does come with a regex library, it just doesn't have an ObjC interface. There's more to what's available than Cocoa, and one of the great things about ObjC is how easy it is to talk to these pure C libraries and get them