|
Home
Articles/Links
Mugs, T-shirts
Comments/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
Useful apps...
Java Beautifier
Code Colorizer
GUI Grep
Swing Grep
Other stuff...
Phreida
xmlser
 |
Examples
- tst.java This example shows
some very basic usage of the package. It should help you get
a quick start on things.
- deriv2.java This shows
you how to make your own patterns with package com.stevesoft.pat.
- deriv3.java More examples
of how to make your own patterns.
- fancy.java
This shows you how to define your own replacement rules in
package pat.
- findbook.java
This is a speed test of package pat in finding a literal
substring, comparing it against String's
indexOf() method. Speed is similar.
In some rare cases pat is faster.
- tokenTest.java
Like StringTokenizer, but different.
- trans.java
An example of how to use the Transformer.
This carries out several substituions simultaneously. You can,
for example, swap all instances of foo
with bar and vice-versa.
- chararray.java shows
you how to search a char[] with package pat.
- randaccess.java
shows you how to search a random access file with package pat.
- setbuf.java shows you how
to capture the result of a replace to a different place than
a StringBuffer.
Weird and perhaps aesthetically displeasing stuff...
|