← Back to team overview

openerp-community-reviewer team mailing list archive

Re: [Merge] lp:~yann-papouin/ocb-addons/6.1-bug-1267845-product-and-category-search-improved-usability into lp:ocb-addons/6.1

 

which gives the same result as the original regex

>>> re.compile('(\[(.*?)\])').search('[Code[A][B][C]] Product name').group(2)
'Code[A'

and the code path you added would search for 'Code[A][B][C' which doesn't seem that much better to me.

Don't you think that's a quite theoretical case?
-- 
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-1267845-product-and-category-search-improved-usability/+merge/201192
Your team OpenERP Community Backports Team is subscribed to branch lp:ocb-addons/6.1.


References