Reimplemented java live coding of derivative regex matching in D.