Logol is a pattern matching grammar language and a set of tools to search a pattern in a sequence (nucleic or proteic).
It includes a Linux command line tool and a graphical designer.
http://logol.genouest.org/web/app.php/logol
Software is free and open source, under CeCILL license