Function pact_mock_server_ffi::generate_regex_value[][src]

#[no_mangle]
pub unsafe extern "C" fn generate_regex_value(
    regex: *const c_char
) -> StringResult
Expand description

Generates an example string based on the provided regex. NOTE: The memory for the returned string needs to be freed with the free_string function

Safety

Exported functions are inherently unsafe.