|
Home
Articles/Links
Mugs, T-shirtsComments/Raves
New in 1.5.3
A Game
An Online Test
Questions
Copyright/License
Download Free
If you need a non-LGPL version
You Can Buy!
Online help...
Quick Start
Tutorial Part 1
Tutorial Part 2
Tutorial Part 3
Tutorial Part 4
Tutorial Part 5
Tutorial Part 6
Examples
Support
FAQ
Documentation
Java Development Outsourcing
Useful apps...
Java Beautifier
Code Colorizer
GUI Grep
Swing Grep
Other stuff...
Phreida
xmlser

|
WelcomeRegular 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?
Note: 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 persistence.
- 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 policy template examples of use it's all available at left.
- Package pat was used to construct a Java Beautifier for use in Borland's JBuilder. 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 called 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.
|