Hi, Aleksi,

> From: Aleksi Niemel
> Sent: Tuesday, July 04, 2000 9:20 AM

> So I guess there's probably good reason why it can return nil. If there is
> none, maybe this is a feature which should be changed in 1.6 (or in future).

As matz said in [ruby-talk:3785] and Dave said in [ruby-talk:1229],
I often want to check if modification is done.

If bang methods does not returns nil, I have to write;

  if target.sub!( src, dest ) != target
    p 'modified'
  end

or

  if target.sub!( src, dest ) && $~
    p 'modified'
  end

It bothers me...

// NaHi