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

Αρχική Σελίδα
Delete this message
Συντάκτης: ph10
Ημερομηνία:  
Προς: Thierry Douez
Υ/ο: pcre-dev
Αντικείμενο: 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