* Val Starovoitov meinte: > new RE( "(..)ple").subst ( "Apple is tasty", "\\1ricot"); > Returns: "\1ricot is tasty" > My expectation: "Apricot is tasty"
Try \1ricot. The problem is you escape the second backslash instead of 1. -- /earth: file system full. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]