Tips to remind for the FUTURE.
myRe = re.compile(r"(myFunc\(.+?\,.+?\,)(.+?)(\,.+?\,.+?\,.+?\,.+?\))") print myRe.sub(r'\1"noversion"\3', val)
No comments:
Post a Comment