make PcreException an extension type