Wildcard whitespace in repository regex

port #203 to master