Added regex option to command line