typedef struct { regoff_t rm_so; // start of match regoff_t rm_eo; // end of match } regmatch_t;