Simplify regex
Use default hash value of zero