Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 13 / posix2024 ere leftmost longest bounded match span

Reconstruct POSIX ERE leftmost-longest noncapturing expression match spans. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-13/posix2024-ere-leftmost-longest-bounded-match-span

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "posixEre"
      ],
      "properties": {
        "posixEre": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "nodes",
                "root",
                "text",
                "anchored_start",
                "anchored_end"
              ],
              "properties": {
                "nodes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "op",
                          "value"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "op": {
                            "enum": [
                              "literal"
                            ]
                          },
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1,
                            "pattern": "^[\\x01-\\x7f]$"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "op"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "op": {
                            "enum": [
                              "dot"
                            ]
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "op",
                          "characters",
                          "negated"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "op": {
                            "enum": [
                              "class"
                            ]
                          },
                          "characters": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 96,
                            "pattern": "^[\\x01-\\x7f]+$"
                          },
                          "negated": {
                            "type": "boolean"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "op",
                          "children"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "op": {
                            "enum": [
                              "concat",
                              "alt"
                            ]
                          },
                          "children": {
                            "type": "array",
                            "items": {
                              "$ref": "#/properties/artifact/%24defs/s0"
                            },
                            "minItems": 2,
                            "maxItems": 8
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "op",
                          "child",
                          "minimum",
                          "maximum"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "op": {
                            "enum": [
                              "repeat"
                            ]
                          },
                          "child": {
                            "$ref": "#/properties/artifact/%24defs/s0"
                          },
                          "minimum": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 8
                          },
                          "maximum": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 8
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 64
                },
                "root": {
                  "$ref": "#/properties/artifact/%24defs/s0"
                },
                "text": {
                  "type": "string",
                  "minLength": 0,
                  "maxLength": 64,
                  "pattern": "^[\\x01-\\x7f]*$"
                },
                "anchored_start": {
                  "type": "boolean"
                },
                "anchored_end": {
                  "type": "boolean"
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 64,
                  "maxLength": 64,
                  "pattern": "^[0-9a-f]{64}$"
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s0": {
          "type": "string",
          "minLength": 1,
          "maxLength": 48,
          "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →