maint: indent cpp directives to reflect nesting pcre: avoid a nominal leak maint: add comments and split some long lines