|
libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
|
Match result object. More...
#include <snobol.h>
Public Attributes | |
| bool | success |
| char * | output |
| size_t | output_len |
| const char * | var_subject |
| size_t | var_off [SNOBOL_API_MAX_VARS] |
| size_t | var_len [SNOBOL_API_MAX_VARS] |
| char * | var_values [SNOBOL_API_MAX_VARS] |
| size_t | var_lens [SNOBOL_API_MAX_VARS] |
| int | var_count |
| size_t | position |
| size_t | length |
Match result object.
Contains the result of a successful pattern match, including captured variables and output buffer. Use snobol_match_create() to allocate, snobol_match_free() to release.
| size_t snobol_match::var_len[SNOBOL_API_MAX_VARS] |
| size_t snobol_match::var_lens[SNOBOL_API_MAX_VARS] |
| size_t snobol_match::var_off[SNOBOL_API_MAX_VARS] |
| char* snobol_match::var_values[SNOBOL_API_MAX_VARS] |