PCRE clang compile and debug code

* Fix invalid constexpr which breaks clang
* Fix debugging code accidentally left in