Attached is some more simplification of the regex code by removing unnecessary forward declarations. This will simplify future patches, which will need to adjust types in declarations to make the code safe for 64-bit environments. This patch is in addition to the earlier patch (1220) which also does this.
Created attachment 623 [details] remove unnecessary forward decls
I applied parts of the patch.