> > > my bad, the automated test is there. > Thanks for the review and, yes, automated tests have been added by the MP > https://code.launchpad.net/~camptocamp/banking-addons/bank-statement- > reconcile-7.0-add-tests-no-split-lep/+merge/199835 > Do you maintain your 'Needs Fixing'? > Regards, > > lmi
my understanding of regexp_matches is that arg 1 is the string we want to check, and arg 2 is the regular expression against which we to the matching (http://www.postgresql.org/docs/9.1/static/functions-matching.html) In the code you propose to merge, you pass a regular expression ('.*' + re.escape(str) + '.*') as the first argument, and a string from the db (which may contain unescaped regular expression special characters such as .) as the regexp value. So this needs to be fixed : at the very least the convertsion of st_line['name'] to a regexp should be removed. And I'm interested in a test in which a partner has name "jh..doe" and a statement line has value 'jheudoe'. -- https://code.launchpad.net/~acsone-openerp/banking-addons/7.0-bug-1280814-base_completion/+merge/206617 Your team Banking Addons Core Editors is subscribed to branch lp:banking-addons/bank-statement-reconcile-7.0. -- Mailing list: https://launchpad.net/~banking-addons-team Post to : [email protected] Unsubscribe : https://launchpad.net/~banking-addons-team More help : https://help.launchpad.net/ListHelp

