regex bugfix, docs update, removed some old crap