Redo re.compile() implementation wihout json

Reimplemented re.compile() implementation without json file. All the `re.compile()` calls are in the `prototypes=[...]` definition again.

Also fix a missing `self` in identifyHash().

I added `u` to some strings to allow "≥" in literals for Python 2.7. This is needed if the `str.format()` calls are on  a unicode literal.