Home
last modified time | relevance | path

Searched refs:match_no (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodure.c328 unsigned int match_no = 0; in re_sub_helper() local
330 match_no = match_no * 10 + (*repl++ - '0'); in re_sub_helper()
336 if (match_no >= (unsigned int)match->num_matches) { in re_sub_helper()
337 mp_raise_type_arg(&mp_type_IndexError, MP_OBJ_NEW_SMALL_INT(match_no)); in re_sub_helper()
340 const char *start_match = match->caps[match_no * 2]; in re_sub_helper()
343 const char *end_match = match->caps[match_no * 2 + 1]; in re_sub_helper()

Completed in 5 milliseconds