Thomas SMETS
Posts: 307
Nickname: tsmets
Registered: Apr, 2002
|
|
Re: grep in java ?
|
Posted: May 21, 2002 3:43 PM
|
|
The fastest is usually to simple work with String & indexOf (...).
For smthg really modular you may be interested by the various String handling package existing on the market ! Among the non commercial ones, you may find this one interresting : http://www.javaregex.com
For personnal implementations I can only advise you to really spend some time combing (looking in real detail) the http://www.javaranch.com site. Especially it's IO & Performance fora. As I have had a long (private) e-mail exchange with the author of the package (some of t is posted on the javaranch), I believe you could search for the javaregex in all the fora (it takes you about 5 minutes)
Look also at the ORO matcher on the http://apache.org web site ;-)
Thomas SMETS, SCJP2 - Brussels
|
|