Pattern AST
           | $value digits
          P|     \d+
          '|     ...
           | end
  
MatchValue    (name: digits, scalar)
    MatchRegex '\\d+'
    MatchLiteral '...'
Input String Captured JSON
10...
{
  "digits": "10..."
}

This HTML fragment was automatically generated from the test cases for JSON Pattern.