This program can be used to test regexes. It takes the regex as an argument, and then tries to match it against all other arguments. It will underline the match, and colorize groups within the match.
A simple example of how to use this program:
A more complex example, using xargs and searching for variable declarations in this program's source code: