Regular Expressions in Java

Package com.stevesoft.pat version 1.5.3

Mugs, T-shirts Comments/Raves
New in 1.5.3
A Game
An Online Test

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

Useful apps...
Java Beautifier
Code Colorizer
GUI Grep
Swing Grep

Other stuff...

Java2html, providing color for source code

Java2html makes your code an in-color web page -- to use it just type
    java COM.stevesoft.pat.apps.java2html

The program creates files with .html appended to them that are suitable for viewing with web browsers. It also makes a link to the uncolored source code so that your source file can be downloaded and compiled.

If you want to apply the java2html program to an html file, it will search through a file with a name ending in .nocolor_html for regions delimited by <javacode> </javacode> tags and colorize only the region in between them and write out the new code to a file ending in ".html". The <javacode> tag accepts the width and border attributes.

// Putting code fragments in your documents is easy!

double x = r*Math.cos(theta);
double y = r*Math.sin(theta);

The file names provided to java2html will be interpreted as either source or destination files depending on the name (anything ending in .html is a destination file, .nocolor_html, .nocolor_java, .nocolor_jas, .nocolor_asp are source files).

This program also supports colorizing for the Jasmin language, and will colorize files ending in .jas or regions bracketted by <jascode></jascode> in a slightly different way.

Source code for