Replaced the slash in a wildcard with a dot

For a wildcard to work in preg_match the slash needs to be replaced with a dot.
Merge pull request #2 from KoenRijpstra/master

Replaced the slash in a wildcard with a dot