working with new regex and python2.6 able