Regex exponential ambiguity

Input

{
  "pattern": "(a+)+"
}

Output

Build-time verified. stats.elapsed_ms normalized to 0.

{
  "ambiguity": {
    "ambiguous": true,
    "risk_class": "exponential",
    "witness": {
      "accepting_paths": [
        8,
        32,
        128,
        512
      ],
      "attack_suffix": "b",
      "example_string": "aaaaaa",
      "paths": [
        {
          "choices": [
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ],
          "states": [
            0,
            1,
            2,
            2,
            2,
            2,
            2,
            -1
          ]
        },
        {
          "choices": [
            0,
            0,
            0,
            0,
            0,
            0,
            0
          ],
          "states": [
            0,
            1,
            2,
            2,
            2,
            2,
            3,
            -1
          ]
        }
      ],
      "prefix": "aa",
      "pump": "aa",
      "pump_paths": [
        {
          "choices": [
            0,
            0
          ],
          "states": [
            3,
            4,
            3
          ]
        },
        {
          "choices": [
            0,
            0
          ],
          "states": [
            3,
            3,
            3
          ]
        }
      ],
      "suffix": ""
    }
  },
  "empty": false,
  "equivalence": null,
  "matching_samples": [
    "a",
    "aa",
    "aaa",
    "aaaa",
    "aaaaa"
  ],
  "non_matching_samples": [
    "",
    "b",
    "c",
    "d",
    "e"
  ],
  "stats": {
    "elapsed_ms": 0,
    "timed_out": false
  },
  "universal": false,
  "verdict": "complete",
  "verified": true
}

Request

curl --fail-with-body --silent --show-error https://oracles.burgeonads.com/v1/analyze/regex -H 'Content-Type: application/json' --data-raw '{"pattern":"(a+)+"}'