[python] Why my regexp for hyphenated words doesn't work?