The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001



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 Artima Forums.


String Recursion

Posted by Matt Gerrans on October 21, 2001 at 1:16 PM

Ack! This forum needs a preview before post!
Here are the unadorned urls, since I will probably make another typo in correcting the original:

J2SE 1.4:
Third Party:

- mfg

> 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


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us