Pull request.regex remove groups

Fix to nltk#545, by using the python's sre module to parse regexes so all corner cases are covered.