RegExp.replaceOld

* Like replace(char[] format), but uses old style formatting: <table border=1 cellspacing=0 cellpadding=5> <th>Format <th>Description <tr> <td><b>&</b> <td>replace with the match </tr> <tr> <td><b>\</b><i>n</i> <td>replace with the <i>n</i>th parenthesized match, <i>n</i> is 1..9 </tr> <tr> <td><b>\</b><i>c</i> <td>replace with char <i>c</i>. </tr> </table>

class RegExp
string
replaceOld
(
string format
)

Meta