MutRex: a mutation-based generator of fault detecting strings for regular expressions
Web interface: http://foselab.unibg.it/mutrex/
There is also a simple CLI version. You can download the jar from here https://github.com/fmselab/mutrex/raw/master/mutrex.cli/mutrex.jar
$ java -jar mutrex.jar "aB([a-z]*)" tests for regular expression aB([a-z]*) "aBb" (CONF) kills [aB((\a|\z))*] "AB" (REJECT) kills [AB([\a-\z])*, (\a|\A)\B([\a-\z])*] "ab" (REJECT) kills [\a(\B|\b)([\a-\z])*] ...
Mutrex is released under the under the terms of the BSD license. Copyright (C) Paolo Arcaini, Angelo Gargantini, Elvinia Riccobene
You can build mutrex by using eclipse. Import the projects in eclipse.
Other publication: P. Arcaini, A. Gargantini, E. Riccobene MutRex: a mutation-based generator of fault detecting strings for regular expressions in 12th International Workshop on Mutation Analysis (Mutation 2017), Tokyo, Japan, March 13, 2017 download the pdf