Journal of Universal Computer Science (Apr 2021)

Regular Expressions with Lookahead

  • Martin Berglund,
  • Brink van der Merwe,
  • Steyn van Litsenborgh

DOI
https://doi.org/10.3897/jucs.66330
Journal volume & issue
Vol. 27, no. 4
pp. 324 – 340

Abstract

Read online Read online Read online

This paper investigates regular expressions which in addition to the standard operators of union, concatenation, and Kleene star, have lookaheads. We show how to translate regular expressions with lookaheads (REwLA) to equivalent Boolean automata having at most 3 states more than the length of the REwLA. We also investigate the state complexity when translating REwLA to equivalent deterministic finite automata (DFA).

Keywords