[issue3255] [proposal] alternative for re.sub

2008-10-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3255] [proposal] alternative for re.sub

2008-09-28 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: Implementing Issue 3482 should solve this problem, and I will try to add it to issue 2636 so that it is captured in the general Regexp 2.7 redesign. -- nosy: +timehorse versions: +Python 2.7 _

[issue3255] [proposal] alternative for re.sub

2008-07-02 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: I often do same mistake again and again. Most of re module's method takes optional argument "flags" like this. finditer( pattern, string[, flags]) But, sub() takes optional argument "count" not "flags". sub( pattern, repl, string[, co