minimalize newline regex
version bump to 2.3