Split up the interwined mess of std.regex.

The docs stay in one file.