Research Article
FIRE/J—optimizing regular expression searches with generative programming
Article first published online: 23 JUL 2007
DOI: 10.1002/spe.841
Copyright © 2007 John Wiley & Sons, Ltd.
Additional Information
How to Cite
Karakoidas, V. and Spinellis, D. (2008), FIRE/J—optimizing regular expression searches with generative programming. Software: Practice and Experience, 38: 557–573. doi: 10.1002/spe.841
Publication History
- Issue published online: 4 APR 2008
- Article first published online: 23 JUL 2007
- Manuscript Accepted: 31 MAY 2007
- Manuscript Revised: 24 MAY 2007
- Manuscript Received: 16 DEC 2005
- Abstract
- References
- Cited By
Keywords:
- regular expressions;
- just-in time (JIT);
- Java;
- Java virtual machine (JVM);
- automata;
- domain specific languages (DSL);
- generative programming
Abstract
Regular expressions are a powerful tool for analyzing and manipulating text. Their theoretical background lies within automata theory and formal languages. The FIRE/J (fast implementation of regular expressions for Java) regular expression library is designed to provide maximum execution speed while remaining portable across different machine architectures. To achieve that, FIRE/J transforms each regular expression into a tailor-made class file, which is compiled directly to Java virtual machine (JVM) bytecodes. The library is compatible with the POSIX standard. Copyright © 2007 John Wiley & Sons, Ltd.

1097-024X/asset/olbannerleft.jpg?v=1&s=2d7d001211f2c40f177a231141601e9f52afc1f3)
1097-024X/asset/olbannerright.jpg?v=1&s=3aec7891a8ba78b361ead9743adfc0b6eae6369a)
1097-024X/asset/cover.gif?v=1&s=5a70ecca2928358eca4ff75b9921d0552ffb6539)