--- In [email protected], Julien Pierrehumbert <[EMAIL PROTECTED]> 
wrote:
>
> Hi gang,
> 
> > Personally I think replaceg/matchg should be the default one.
> > I was once curious why PCRE didn't introduce switch g(lobal) like
> > i(gnore-case), m(ulti-line), s(ingle-line). Some programs, like vim,
> > have g switches.
> 
> I could perhaps implement such a switch in the plugin if you think
> it'd be useful.

I'm not sure if it's necessary at this stage, already we have two
separate services, match/replace and matchg/replaceg, and Bruce
introduced a way to manage it in var[?"string"] syntax.

However, it may be of help with regex.rg(), or would-be regex.mg(),
when one does not want to introduce a variable.

> BTW, I rewrote the plugin two years ago to make it more readable (from 
> my perspective anyway) and flexible and also to expand a feature. I 
> haven't released the rewrite because it hasn't been tested as well as 
> the older version.
> If someone wants to reuse the code or include the plugin in the PP 
> distribution by default, I think it would be better to use the newer 
> version. If anyone is interested, I'll post it somewhere.

I'm interested. BTW, does it happen to have regex.mg() service? :)

OTOH, the latest build of pcre was renamed to pcre3.dll. I can't find
any change log why it's renamed: there might be an incompatibility
issue with previous build.

Sean






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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/

<*> 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