Eric Covener wrote:
Anyone else +1 for flatten-as-default and providing an option such as: 'q'uick: Substitute more efficiently, but further substitutions will not be able match across the boundaries of this substitutions replacement string.
+1, anything requiring this depth-of-understanding is prone to be a problem. The optimization would have to know that the smallest pattern-match space is some (x) characters long, and unconditionally do a set-aside of (x-1) characters of trailing data from each bucket, to match across calls. Flatten is so much simpler for the casual user. Bill