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

Top Page
Delete this message
Author: ph10
Date:  
To: Thierry Douez
CC: pcre-dev
Subject: 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