Sponsored Link •
Legacy Java Answers Forum
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Posted by Matt Gerrans on October 21, 2001 at 1:13 PM
Oops! The same typo twice. Here's what I meant to write:
> Sounds like you need regular expressions.
- J2SE 1.4 will have them in util.regex, but that is not yet released. You can download or find more details on the beta on Sun's website (above link).
- If you don't want to use a beta you could use Jython, which is Python running on Java.
- Finally, there are third party tools for Java that do regular expressions; go to Sun's Solution Marketplace and search for "regular expression."
> - mfg
> > How do you successfully identify patterns in a string using recursive methods. Let's say I want to identify a pattern of
> > x or xy...(+)qz or qd (+) x?
> > I appreciate any help you can provide.
> > K