submatch
nounEtymology From sub- + match.
1
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences A match forming part of a larger match, for example in a text string being searched.
- As you examine a specific candidate String, the Matcher can keep track of submatches for that expression.2008, Mehran Habibi, Java Regular Expressions: Taming the java.util.regex Engine, page 71: