• 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: Regular Expressions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular Expressions?


  • Subject: Re: Regular Expressions?
  • From: Ilan Volow <email@hidden>
  • Date: Sat, 7 Jun 2008 06:41:34 -0400
  • Domainkey-status: no signature

What I found so useful about Cocoa-Java was that it was the perfect tool for easily writing Cocoa Apps that made heavy use of technologies that Apple was too short-sighted to add, largely because Java came out- of-the-box with so many useful classes for basic stuff like regular expressions. And its integration with the rest of the environment made it far less painful than the other language bindings. 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.

Those were the days...

-- Ilan

On Jun 6, 2008, at 5:47 PM, Stephen J. Butler wrote:

On Fri, Jun 6, 2008 at 10:13 AM, glenn andreas <email@hidden> wrote:
One other possible solution is to use the JavaScriptCore and make a
JSStringRef (which works with unichars like NSString), and use JavaScript's
regex support - that way the results will at least have consistent indices,
work well with non-ASCII characters, etc...

As long as we're discussing really far out solutions...

There's the Java java.util.regex package. One could write some JNI and
wrap the Java package (only two classes) although you'd have to start
up the VM.

Personally, I like some of the extensions that Java adds to the patterns.
_______________________________________________


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


  • Follow-Ups:
    • 3rd Party Nonsense (was Re: Regular Expressions?)
      • From: Jason Stephenson <email@hidden>
References: 
 >Regular Expressions? (From: "Cemil Browne" <email@hidden>)
 >Re: Regular Expressions? (From: Jason Stephenson <email@hidden>)
 >Re: Regular Expressions? (From: glenn andreas <email@hidden>)
 >Re: Regular Expressions? (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: Garbage collector vs variable lifetime
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: Regular Expressions?
  • Next by thread: 3rd Party Nonsense (was Re: Regular Expressions?)
  • Index(es):
    • Date
    • Thread