This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zzzeek
Recipients serhiy.storchaka, zzzeek
Date 2018-03-05.16:17:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520266638.54.0.467229070634.issue32998@psf.upfronthosting.co.za>
In-reply-to
Content
also, removing the "?" is not an option for me.   I need the brackets to be placed prior to the "COLLATE" subsection, but unconditionally even if the "COLLATE" section is not present.     Looking at the change the behavior seems wrong to me.   The regexp states, "match the end of the string, plus an optional "COLLATE" clause, into a capturing expression.  replace everything here, e.g. the capturing part as well as the dollar sign part, with a single instance of FOO plus the captured part".   It is entirely unintuitive to me how a second replacement would be occurring here.   I cannot prove it but I think this change is wrong.

I will try to rewrite the expression.
History
Date User Action Args
2018-03-05 16:17:18zzzeeksetrecipients: + zzzeek, serhiy.storchaka
2018-03-05 16:17:18zzzeeksetmessageid: <1520266638.54.0.467229070634.issue32998@psf.upfronthosting.co.za>
2018-03-05 16:17:18zzzeeklinkissue32998 messages
2018-03-05 16:17:18zzzeekcreate