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

Top Page
Delete this message
Author: Thierry Douez
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] my 1st try to compil pcre.. need advice
2013/10/5 <ph10@???>

>
> You need "(*UTF8)(*UCP)\w+(\s+)" that is,




> you need to tell PCRE *two*
> ​​
> things:
>
> (1) The text strings are UTF
> (2) Use Unicode properties for \w, \s, etc
>
> Philip
>


​Thanks. Now it works!

I did it after your 1st answer without success ????
Probably some typo :(


​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 ?

Regards,

Thierry