Pattern AST
  P| \{3,6\}
MatchRegex '\\{3,6\\}'
Input String Captured JSON
{3,6}
{}
Pattern AST
  
           | $value foo
          P|   \{3,6\}
           | end
  
MatchValue    (name: foo, scalar)
    MatchRegex '\\{3,6\\}'
Input String Captured JSON
{3,6}
{
  "foo": "{3,6}"
}

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