Fix bug #636 beach ball while doing :s///g with ^ and $