Function pact_ffi::mock_server::pactffi_check_regex
source · #[no_mangle]
pub unsafe extern "C" fn pactffi_check_regex(
regex: *const c_char,
example: *const c_char
) -> bool
Expand description
Checks that the example string matches the given regex.
§Safety
Both the regex and example pointers must be valid pointers to NULL-terminated strings. Invalid pointers will result in undefined behaviour.