--- In [email protected], Julien Pierrehumbert <[EMAIL PROTECTED]> 
wrote:
>
> > Hi. The following are UTF-8 related options I found out in pcre
man page:
> > 
> > PCRE_UTF8
> > PCRE_NO_UTF8_CHECK
> > &
> > REG_UTF8 // pcreposix
> > 
> > The question is how to set them with regex plugin?
> 
> Hi.
> 
> In the expression? Maybe there's something like (?u) you can use. I 
> wouldn't know.

No, there is no (?u). All options I could find in PCRE are
(?...): i, m, s, x, X, U
where (?U) is to invert the greediness.

> In the code? Put REG_UTF8 in the regcomp options (last parameter, 
> currently 0).
> 
> Or are you planning to suggest a way for the plugin to expose that 
> option? Go ahead then.

Yup, I suggest a way to expose the option, which will set the last
parameter of regcomp to REG_UTF8.
Could be a separate one '(?#u) or (?#8)' to '(?#g) or (?#1)', or may
be combined like (?#gu)?

Sean




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to