On Thu, 12 Feb 2004 12:59:21 +0100, Robert Klemme wrote:
> "Simon Strandgaard" <neoneye / adslhome.dk> schrieb im Newsbeitrag
>>
>>   result.sub!(/\{/,'[')
>>   result.sub!(/\}/,']')
>>
>> Above can be chained, so it becomes
>>
>>   result.sub!(/\{/,'[').sub!(/\}/,']')
> 
> I always feel unconfortable chaining (g)sub! since the result here *may*
> be nil.
>
[snip]

I am curious to when 'nil' may be returned?

--
Simon Strandgaard