QuickREx as a Standalone Application

In case you do not use Eclipse but still want to use QuickREx, now you can get QuickREx as a standalone application for the Windows-Platform. In case you use Eclipse, consider using the plug-in as described here.

Table of Contents

Using the QuickREx Application

 

The QuickREx application

Why QuickREx?

For Testing Regular Expressions

Regular Expressions are powerful but can be confusing at times. I regularly found myself working with scrapbook-pages to test my regular expressions (or working late-night shifts to fix problems in production :-( ). QuickREx was written to get around using scrapbook pages or working on the high-wire and to be able to play with regular expressions more easily.

QuickREx is an Eclipse-based Application (also available as an Eclipse-plugin). QuickREx lets you enter test-texts and try regular expressions. The expressions are evaluated against the test-text on the fly, matches are highlighted and you can navigate between the matches. You can also navigate through groups within each match (if groups are defined in your regular expression).

Regular Expressions are edited either within the view or within a composition-dialog which offers the most useful building-blocks grouped in categories and accompanied by short explanations.

QuickREx also offers TAB-completion for regular expressions. All TAB-completion suggestions as well as the corresponding help-text popups are customizable. They are defined in .xml-files distributed with the plug-in. These files can be changed to add additional hints, remove rarely used hints or change the descriptions.

QuickREx offers the most widely used implementations of Regular Expressions in the Java-world:

For each of the implementations, you can set the available compiler-flags through QuickREx or use inline flag-switches with the regular expression.

See here for how to select an implementation.

Regular Expressions and Test-Texts can be persisted for later reference. Also, any file-contents can be loaded as test-text.

See here for screen-shots and details on using the QuickREx-view.

For Keeping and Organizing Regular Expressions

Another feature ist the Regular Expression Library. The Library it thought to be a tool to keep, organize, and search for regular expressions which you may want to use again. There are a few selected expressions for things such as checking date-formats, finding tags or searching for and matching lines in text containing 'FOO' and 'BAR' (and maybe neither 'FAR' nor 'BOO'). You can add your own books with chapters holding regular expressions useful to you.

The Regular Expression Library comes with an editor where you can enter the expression (with TAB-completion as you are used from QuickREx), enter a test-text and a description and also enter a source (you may have found the expression in a book or on a web-page). Also, you can use the QuickREx-view to test the expression against the saved test-text.

The Regular Expression Library is fully searchable, the entries are kept in XML-files (one for each book) where the path's are at your choice (apart from the standard book wich is delivered with the plugin).

See here for screen-shots and details on using the library.

For using Regular Expressions

Another feature I am missing from time to time when working on Wintel-boxes is the good old 'grep' command.

QuickREx also offers this feature: Load your test-text, enter or load the regular expression you want and press the 'Grep'-button. QuickREx opens a dialog containing only the matches separated by line-breaks.

This can be useful e.g. when you need to look at large log-files where you are only interested in lines starting like 'ERROR'. (Of course, you could have used Log4j and adjusted the log-level in the first place ;) )

See here for details.

Application versus Plug-In

You are currently working with the application-version of QuickREx. Initially, QuickREx was designed to be a plug-in module for the popular Eclipse-IDE. As people were interested in using QuickREx without wanting to change their IDE to Eclipse, and since the Eclipse-platform knows the concept of stand-alone applications, I decided to also offer QuickREx as a stand-alone application.

Code-wise, the application is only a thin wrapper around the plug-in, slightly changing the layout and removing things which are not directly QuickREx-related. Under the hood, the QuickREx-plugin is working, currently (Version 1.5.0 of the application) in Version 3.5.0. Also on this help-page you will find the plug-in-documentation which holds some more details for those that are interested.

What are the license terms?

QuickREx (both the plug-in as well as the application) is distributed under the Eclipse Public License, v 1.0. You can find the license details online at http://www.eclipse.org/legal/epl-v10.html.

The license is an Open Source license. The source can be found here as a zip-file for download.

I hope the application serves you well. In case you find any problems with using it, have ideas for additional useful features or any other comments, contact me.

What's new?

Release 1.5.0

Application-Source is unchanged, but application now based on QuickREx v 3.5.0:

Release 1.0.1

This is a patch because 1.0.0 was compiled under Java 5 leading to problems with users using JRE 1.4. No functional differences compared to 1.0.0 - Sorry for the trouble!

Installation

Simply download the release-zip, unpack, and double-click "QuickREx/QuickREx.exe". There is no installation apart from unpacking the files. Deinstallation is performed by simply deleting the directory.

Current Release

Version 1.5.0

Source

Version 1.5.0

Version 1.0.0

Archive

Version 1.0.1

Version 1.0.0

 

QuickREx is hosted on SourceForge - SourceForge.net Logo

See http://sourceforge.net/projects/quickrex/