← 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

 

I'm getting following results:

>>> re.compile('(\[(.*?)\]?)').search('[bla').group(1)
'['
>>> re.compile('(\[(.*?)\]?)').search('[bla').group(2)
''
>>> re.compile('(\[(.*?)\]?)').search('[bla] bob').group(1)
'['
>>> re.compile('(\[(.*?)\]?)').search('[bla] bob').group(2)
''
>>> re.compile('(\[(.*?)\])').search('[bla] bob').group(1)
'[bla]'
>>> re.compile('(\[(.*?)\])').search('[bla] bob').group(2)
'bla'
-- 
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