Fix regexp that parse location hash

I fixed the regexp that parse le location.hash data (escape the #)