|
rlib
Convenience library for useful things
|
Result of r_str_match_pattern. More...
#include <rlib/rstr.h>
Data Fields | |
| rchar * | ptr |
| rchar * | end |
| rsize | tokens |
| RStrMatchToken | token [0] |
Result of r_str_match_pattern.
Variable-length: the token array is a flexible member sized to tokens entries. Allocated by the matcher; caller r_free's.
| rchar* RStrMatchResult::end |
Pointer one past the last matched byte.
| rchar* RStrMatchResult::ptr |
Pointer into the input where the match starts.
| RStrMatchToken RStrMatchResult::token[0] |
Per-token match spans.
| rsize RStrMatchResult::tokens |
Number of entries in token.