submatch 557 lib/common/rules.c int submatch = 0; submatch 574 lib/common/rules.c submatch = src[1] - '0'; submatch 579 lib/common/rules.c if ((nmatches <= submatch) // Not enough submatches submatch 580 lib/common/rules.c || (submatches[submatch].rm_so < 0) // Pattern did not match submatch 581 lib/common/rules.c || (submatches[submatch].rm_eo submatch 582 lib/common/rules.c <= submatches[submatch].rm_so)) { // Match was empty submatch 586 lib/common/rules.c match_len = submatches[submatch].rm_eo - submatches[submatch].rm_so; submatch 591 lib/common/rules.c memcpy(expansion, match + submatches[submatch].rm_so,