improve regexp, example in readme was failing