D-Programming-Language/phobos — pull request #623 by blackwhale (2012-06-07 21:35:28+00:00)
Title: fix Issue 8203 std.regex.match() generates "not enough preallocated memory" 

regex engine loses memory whenever another copy of that match object is run again. Eventually it runs out of preallocated amount.

Changes RegexMatch objects to follow proper COW semantics.

There is some whitespace & debug identifiers clean up along the way.