First draft of a regex command class.