Match command line options using regex.
Merge pull request #41 from mihaineacsu/hosts-from-cmd-line

Match command line options using regex.