flag removed from re.sub(), support for python 2.6
Merge pull request #2 from vied12/master

flag removed from re.sub(), support for python 2.6