Author gerardjp
Recipients BMintern, effbot, gerardjp, mchaput, nneonneo, timehorse
Date 2009-02-03.15:59:44
SpamBayes Score 3.83929e-06
Marked as misclassified No
Message-id <1233676789.18.0.401905282655.issue1519638@psf.upfronthosting.co.za>
In-reply-to
Content
Bobby,

Can you post the actual text you need this for? The back ref indeed
returns a None. I'm wondering if the regex can be be simplefied and if a
positive lookbehind could solve this.

Symantically speaking ... If there's a "b" then return the "ar", because
then an empty alternate might again be of help.

Kind regards,

Gerard.
History
Date User Action Args
2009-02-03 15:59:49gerardjpsetrecipients: + gerardjp, effbot, mchaput, nneonneo, timehorse, BMintern
2009-02-03 15:59:49gerardjpsetmessageid: <1233676789.18.0.401905282655.issue1519638@psf.upfronthosting.co.za>
2009-02-03 15:59:47gerardjplinkissue1519638 messages
2009-02-03 15:59:44gerardjpcreate