New in 1.5.3
An Online Test
If you need a non-LGPL version
You Can Buy!
Tutorial Part 1
Tutorial Part 2
Tutorial Part 3
Tutorial Part 4
Tutorial Part 5
Tutorial Part 6
Regular XML Expressions: Would a new form of regular expression
make searches of xml and html easier?
Note: Many people have enjoyed the tutorial we made for our package, and received a few requests for an adaptation to Sun's java.util.regex
package. We are happy to report the tutorial is available as a freely
downloadable pdf. You can also buy a print on demand version for
which We will receive $1.
Note: Quick & dirty xml tip on JavaWorld.
This code is currently in use in cell phones and streaming stock
quote programs. What can you do with it?
Ever wanted a package pat mug? You can now buy one at
our Cafe Shop.
But that's not all you can get, there's some science fiction
theme t-shirts, and mouse pads.
Package pat provides a mechanism for compiling and matching
regular expressions in java. It has numerous features:
- Online since May of 1996: Many Java software companies and packages
have come and gone since Java was invented. Package pat has demonstrated
- Y2K: Since package pat uses no internal representation of dates
it never had a Y2K problem.
- Support for all the pattern matching capabilities of Perl 5.
- Polymorphism: Package pat can match on a String, an array of
characters, or a RandomAccessFile.
- Support for unicode: Matches that ignore case take into account
all three cases of unicode. Special patterns are supplied to match
characters with certain unicode properties (read more).
- Support for reverse searching within a String.
- Documentation: Whether you want javadoc comments, a tutorial, or
examples of use it's all available at left.
- Package pat was used to construct a Java
Beautifier for use in
It will format and properly indent source files. Version 1.0 is free if you have a license for com.stevesoft.pat.
- Speed: If the optimize() method is
package pat uses a
Boyer-Moore Horspool search (if the pattern begins with a
literal text string).
- Just Java: No native code is employed by package pat.
- Java 1.0 support: If you need to restrict yourself to using
java 1.0 you can still use pat.