can't substitute in a newline?

Phillip Rhodes <[email protected]> Sat, 17 Aug 2002 22:48:59 -0400
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <[email protected]>
I am trying to do a substitution where I will append a new line to a 
match.  I am trying to make a lot of code more readable by putting new 
lines in.

So given a regex of (if.*)
and a substitution of $1\r\n

Using ORO, it matches, but the newline does not appear.  I tried escaping 
it as $1\\r\\n, but then a literal "\r\n" appears in the result.

I will keep hammering away.  Any help would be appreciated.