Fixing option regex to allow domain names and not only host names.