Hi Owen, The best approach would be to set your regular expression equal to a literal string using the powerpro ?" quoting syntax to avoid the need for double escapes. Only the match clause uses PCRE metacharacters, but if your replacement clause referenced a subpattern, e.g., \1, it would need double escapes (unless the replace clause is also set a powepro literal string, and again this is only when your powerpro escape character is defined to be a backslash - true in the standard configuration).
Regards, Sheri --- In [email protected], "Owen Watson" <[EMAIL PROTECTED]> wrote: > > I've noticed that you require doubled \ in the Find text, but only > single \ in the Replace text. > eg finding returns needs \\r > replacing with returns is \r > Any particular reason for this? > > On 22/09/06, Julien Pierrehumbert <[EMAIL PROTECTED]> wrote: > > > If \ is your escaping character (I think it's the default now), then you > > must use "<b>\\1</b>". PP will then turn \\ into \ just like it will > > turn, say, \" into ". > 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/
