Error on exec query : Got error 'empty (sub)expression' from regexp