Code review comment for lp:~yann-papouin/ocb-addons/6.1-bug-1267845-product-and-category-search-improved-usability

Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Yes, letting postgres do that is simpler and faster I guess.

Concerning the regex:

>>> import re
>>> re.compile('(\[(.*?)\]?)').search('[bla')
<_sre.SRE_Match object at 0x7f0be1590558>

That seems to work for me.

Looks good otherwise!

« Back to merge proposal