= private = protected
reset()
Reset the scan pointer (index 0) and clear matching data.
/* * Reset the scan pointer (index 0) and clear matching data. */ static VALUE strscan_reset(VALUE self) { struct strscanner *p; GET_SCANNER(self, p); p->curr = 0; CLEAR_MATCH_STATUS(p); return self; }