Skip to content
HALOWERK

Code and API Checks

ecmascript regexp flag set

JavaScript RegExp flag compatibility checks every requested flag for one product release. Use it when an agent needs compatibility evidence for a JavaScript language choice.

POST https://code.halowerk.com/v1/ecmascript-regexp-flag-set

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
flagsstringYes
browserstringYes
versionstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "flags": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "browser": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "snapshot": {
      "enum": [
        "8.1.11"
      ]
    }
  },
  "required": [
    "flags",
    "browser",
    "version"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "flags": "dgu",
  "browser": "chrome",
  "version": "90",
  "snapshot": "8.1.11"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "supported": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "other": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "all_full": {
          "type": "boolean"
        }
      },
      "required": [
        "supported",
        "other",
        "all_full"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’