Re: [pcre-dev] my 1st try to compil pcre.. need advice

Góra strony
Delete this message
Autor: ph10
Data:  
Dla: Thierry Douez
CC: pcre-dev
Temat: Re: [pcre-dev] my 1st try to compil pcre.. need advice
On Sat, 5 Oct 2013, Thierry Douez wrote:

> ​Otherwise, writing
> (*UTF8)(*UCP)\w+(\s+)
> or
> (*UTF)(*UCP)\w+(\s+)​
>
> ​does the same here.
> Is this by chance or is it safe to write both ways ?


Either way is OK. They are just setting flags, which you can also set
when calling pcre_compile() - the PCRE_UTF8 and PCRE_UCP flags.

Philip

--
Philip Hazel