Re: TextDisplayFormatter.java - any updates? where can gnu.regexp be found?
Re: TextDisplayFormatter.java - any updates? where can gnu.regexp be found?
- Subject: Re: TextDisplayFormatter.java - any updates? where can gnu.regexp be found?
- From: Art Isbell <email@hidden>
- Date: Mon, 9 Oct 2006 10:42:50 -1000
On Oct 9, 2006, at 5:51 AM, Matt Kime wrote:
I'm attempting to use TextDisplayFormatter.java in order to solve the
common problem of creating a string formatter to insert html paragraph
breaks on WOString. I've attempted to use the code as found here -
http://wocode.com/cgi-bin/WebObjects/WOCode.woa/2/wa/ShareCodeItem?
itemId=352
It requires gnu.regexp but I can't find anywhere to download it. I
suspect that its functionality has been moved into a different package
a couple of times.
What have people done to get this to work? Or is there a better way
than this?
Back when TextDisplayFormatter.java was written, the standard J2SE
distribution didn't contain a regular expression implementation as it
does now: java.util.regex. When I have come across Java source that
requires a third-party regular expression implementation, I've been
substituting the third-party regular expression methods with
java.util.regex methods so that the third-party library is no longer
needed.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden