[TRIVIAL] Fixup docs in std.regex

And I was wondering where the questionable `enum` anti-pattern came from... Silly me.
Also a workaround for issue 11479. It would be tremendously helpful to regenerate 2.064 DDoc though after that.