split up regexes for command line parsing