Functions in strpattern.h
Functions available in the String Pattern library.
Related links
- String pattern library
The string pattern library provides functions to register strings containing regular expressions, recognizers, and handlers which perform actions based on those strings. Recognizers check for specific string patterns. Currently they check for address, email address, phone number, PIN, SMS, and URL.
- strpattern_analyze()
Schedule pattern matching for the given text.
- strpattern_analyzeUTF8()
Schedule pattern matching for the given UTF-8 text.
- strpattern_cancel()
Cancel the pattern matching of a text.
- strpattern_context_delete()
Release the memory of a context object allocated on the heap.
- strpattern_context_new()
Construct a context object for pattern matching on the heap.
- strpattern_context_set_sync()
Specify synchronous or asynchronous execution of pattern matching.
- strpattern_context_sync()
Get the specification of synchronous or asynchronous execution of pattern matching.
- strpattern_errstr()
Return a simple string describing the specified error code.
- strpattern_init()
Initialize the pattern matching subsystem.
- strpattern_match_delete()
Release the memory of a pattern match allocated on the heap.
- strpattern_match_delete_all()
Release the memory of all pattern matches specified in the given array.
- strpattern_match_end_index()
Get the end index of a match.
- strpattern_match_invoke_action()
Get the action of an invoke associated with a pattern match.
- strpattern_match_invoke_count()
Get the number of invokes associated with a match.
- strpattern_match_invoke_data()
Get the data of an invoke associated with a pattern match.
- strpattern_match_invoke_data_type()
Get the data type of an invoke associated with a pattern match.
- strpattern_match_invoke_default()
Get the default invoke for a match.
- strpattern_match_invoke_target()
Get the invocation target of an invoke associated with a pattern match.
- strpattern_match_invoke_uri()
Get the URI of an invoke associated with a pattern match.
- strpattern_match_start_index()
Get the start index of a match.