added hasher for regex types
version 0.2.4