optimization: made static RegExps local-global to avoid recreation on each call
added a sensible Readme