{
  "x402Version": 2,
  "id": 52494,
  "slug": "52494",
  "resource": "https://regex.openverbs.com/v1/match",
  "description": "Find the first match (or all matches with all=true) of a RE2 pattern, returning each match's text, start/end offsets, and numbered and named capture groups. No match is a successful 200 with an empty match list.",
  "type": "http",
  "serviceName": "Find matches and capture groups",
  "resourceType": "News",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "amountUsd": 0.004,
      "maxTimeoutSeconds": 300
    }
  ],
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "all": true,
            "input": "Ada Lovelace",
            "pattern": "([A-Za-z]+)"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "all": {
                    "description": "Return every match instead of just the first. Default false.",
                    "type": "boolean"
                  },
                  "flags": {
                    "description": "Any of i (case-insensitive), m (multiline ^$), s (dotall). Default none.",
                    "maxLength": 8,
                    "type": "string"
                  },
                  "input": {
                    "description": "The subject text.",
                    "maxLength": 1000000,
                    "type": "string"
                  },
                  "pattern": {
                    "description": "RE2 regular-expression pattern.",
                    "maxLength": 4096,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "pattern",
                  "input"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "find regex matches",
    "regex capture groups",
    "extract pattern matches",
    "named group lookup",
    "re2 match api",
    "bazaar"
  ],
  "sourceHost": "regex.openverbs.com",
  "lastUpdated": "2026-10-08T06:13:49.554Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:13:49.283Z"
  },
  "metadata": {
    "serviceName": "Find matches and capture groups",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "all": true,
              "input": "Ada Lovelace",
              "pattern": "([A-Za-z]+)"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "all": {
                      "description": "Return every match instead of just the first. Default false.",
                      "type": "boolean"
                    },
                    "flags": {
                      "description": "Any of i (case-insensitive), m (multiline ^$), s (dotall). Default none.",
                      "maxLength": 8,
                      "type": "string"
                    },
                    "input": {
                      "description": "The subject text.",
                      "maxLength": 1000000,
                      "type": "string"
                    },
                    "pattern": {
                      "description": "RE2 regular-expression pattern.",
                      "maxLength": 4096,
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "pattern",
                    "input"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "regex.openverbs.com",
    "manifest_name": "regex.openverbs.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  }
}