pcre docdir switch and formatting