Filtering command names based upon regexes.