------ art_34120_7871562.1182637365068 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm converting a big Python program to Ruby which uses lots of regexps, and I'm getting some odd errors. One problem seems to be that \1 in the replacement string doesn't always work. Are there any known "gotchas" between Python's regexps and Ruby's? And what's the most robust way to convert "underlined" words to HTML italics using a regexp? Something like: "This _word_ is in italics." -> "This <i>word</i> is in italics." Thanks! Mike Steiner ------ art_34120_7871562.1182637365068--