--- In [email protected], Julien Pierrehumbert <[EMAIL PROTECTED]> wrote: > > 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.
replace/r1 is likely the least used one among the regex services. > 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 Thanks for the fix. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/
