Clone or download
Jan Starke
Latest commit b8cd7b4 Mar 5, 2018


a tool to create words based on regular expressions


To build rexgen, you'll need the following tools and libs:

Tool needed for
flex Generator for lexical analysis of regular expressions
bison Generator of parser for regular expressions
cmake Creation of Makefiles

Building rexgen

Clone the git repository to include the required FindICU:

git clone

Build and install:

cd rexgen
# you can use the switches -p to enable python support and -l to enable lua support


If you are interested in contribution, please have a look at the (Architecture Documentation)[doc/]


If you have problems building rexgen, cou can change to the build and run cmake .. && make manually. Currently supported options rexgen's CMakefile are:

  • -DCMAKE_BUILD_TYPE=Debug creates a debug build
  • -DUSE_PYTHON=On tells cmake to include the python interface
  • -DUSE_LUA=On tells cmake to include the lua python interface


If you want to contribute ideas, bug reports or improvements to this project, feel free to contact me via github.

If you are not interested in active participation of this project, but you want to support it anyway, you can Flattr this git repo


Copyright (C) 2012-2017 Jan Starke

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA