fixed bug in regexp, added test
removed docs