Make all regex modules throw the same exception on error.
Fix various small issues.

- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create.
- Fix documentation comment on regex_string.
- Fix various code duplication/layout issues.
Merge pull request #619 from SaberUK/master+regex-dedupe

Various regex module improvements.