I attach a patch-set which performs all my promised tidy-up of regex.texi, with the exception of the removal of POSIX documentation, which I will submit later.
Note that this set supercedes the previous two patches I supplied: to be precise, the second patch has changed slightly, as I found a typo in it.
0008-Tidy-up-documentation-of-substring-matching.patch
Description: Binary data
0001-Fix-a-mention-of-regex_compile-should-be-re_compile_.patch
Description: Binary data
0002-Document-syntax-flags-better.patch
Description: Binary data
0003-Document-re_set_registers.patch
Description: Binary data
0004-Document-trick-to-re-use-a-pattern-buffer-by-setting.patch
Description: Binary data
0005-Update-the-documentation-of-struct-re_pattern_buffer.patch
Description: Binary data
0006-Since-they-are-now-implemented-uncomment-the-documen.patch
Description: Binary data
0007-Explain-leftmost-longest-matching-in-relation-to-alt.patch
Description: Binary data