// Number of bytes in the compiled pattern func pcresize(ptr *C.pcre) (size C.size_t) { C.pcre_fullinfo(ptr, nil, C.PCRE_INFO_SIZE, unsafe.Pointer(&size)) return }
// Number of capture groups func pcregroups(ptr *C.pcre) (count C.int) { C.pcre_fullinfo(ptr, nil, C.PCRE_INFO_CAPTURECOUNT, unsafe.Pointer(&count)) return }
func pcreJITsize(ptr *C.pcre, ext *C.pcre_extra) (size C.size_t) { C.pcre_fullinfo(ptr, ext, C.PCRE_INFO_JITSIZE, unsafe.Pointer(&size)) return }