swzoh wrote:
> OTOH, I noticed a strange thing with r1/replace, which looks like a
> bug, however not sure on which side: PCRE or regex.dll.
> It happens only when the pattern matches from the start:

It's a bug in the plugin of course.
It indeed happens only with the replace (or r1) service when the pattern 
matches from the start... the condition for adding what's left AFTER the 
match to the output string was wrong: it tested for characters left 
BEFORE the match. Oops!
I don't use that service much (if at all) and neither does Luciano who 
tested that code two years ago apparently.

While I was at it, I changed a couple other details that didn't make 
sense in the plugin logic and I hope I didn't break anything. Anyway, 
here's the new version:
http://julp.curvedspaces.com/regexpcre6.zip



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