Updated the regex to make it work when putting the hash after '?'
Merge pull request #22 from olivierguerriat/master

Updated the regex to make it work when putting the hash after '?'