submatch

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

Etymology[edit]

sub- +‎ match

Noun[edit]

submatch (plural submatches)

  1. (computing) A match forming part of a larger match, for example in a text string being searched.
    • 2008, Mehran Habibi, Java Regular Expressions: Taming the java.util.regex Engine, page 71:
      As you examine a specific candidate String, the Matcher can keep track of submatches for that expression.