Auteur: Philip Hazel Date: À: Manohar S CC: pcre-dev Sujet: Re: [pcre-dev] PCRE with UTF-8
On Tue, 17 Jun 2008, Manohar S wrote:
> hi sorry for the very late reply.
> The pattern is as you have given earlier..
> pattern = [\'\"][\x{80}-\x{ffff}a-zA-Z0-9]+[\'\"];
> String = "select * from account where a = 'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ';"
>
> and string actually read from a file and it will be read in UTF-8 form..
I need to see the actual string in order to be able to run proper tests.
> then i am doin pcre_compile and pcre_exec with PCRE_UTF8.
> the RC got is 1, but ovector[0] and ovector[1] are filled with 0 :(..
... which might mean that it matched an empty string.