Regex language difference

Input

{
  "compare_pattern": "(ab|b)",
  "pattern": "a(b|c)"
}

Output

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

{
  "ambiguity": {
    "ambiguous": false,
    "risk_class": "none",
    "witness": null
  },
  "empty": false,
  "equivalence": {
    "equivalent": false,
    "only_in_compare": "b",
    "only_in_pattern": "ac"
  },
  "matching_samples": [
    "ab",
    "ac"
  ],
  "non_matching_samples": [
    "",
    "a",
    "b",
    "c",
    "d"
  ],
  "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(b|c)","compare_pattern":"(ab|b)"}'