added a command line option --brief
added a command line option --regex