strpattern_match_invoke_default()

Get the default invoke for a match.

Synopsis:

#include </strpattern.h>
 
int strpattern_match_invoke_default(const strpattern_match *match, int *err)

Arguments:

match

The match whose default invoke is returned.

err

STRPATTERN_EOK if there is no error.

Library:

libstrpattern

Description:

This function gets the default invoke for a match. An invoke means that it was found by a recognizer and a match was created for it. A recognizer is an email address, phone number, PIN, SMS, or URL.

Returns:

The default invoke for the match (0 on error).