Entwickler-Tools
Regex Toolkit
regex-toolkit
Use Regex Toolkit through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Schnellzugriff
Eingabedateien 0Ausgabedateien 0
Eingabe
Zulässige Eingabeformate und Dateianzahl für dieses Tool.
| Eingabetyp | data |
|---|---|
| Dateianzahl | 0 – 0 |
| Zulässige MIME-Typen | Keine |
Parameter
Diese Werte über request.options übergeben.
| Parameter | Typ | Erforderlich | Standard | Zulässig / Bereich | Beschreibung |
|---|---|---|---|---|---|
input |
string | Optional | — | — | Text input. |
pattern |
string | Erforderlich | — | — | Regex pattern. |
flags |
string | Optional | g |
— | Regex flags. |
action |
enum | Optional | find |
find | replace | Find or replace. |
replacement |
string | Optional | — | — | Replacement text. |
Ausgabe
Nach erfolgreicher Verarbeitung zurückgegebenes Ergebnisformat.
| Typ | data |
|---|---|
| Dateianzahl | 0 – 0 |
| Ausgabe-MIME | Keine |
| Metadata | matches |
| ZIP-Archiv | Nicht unterstützt |
Grundlegende Verwendung
Unterstützten Integrationsmodus wählen und den erzeugten Starter-Code kopieren.
Headless
const result = await client.run("regex-toolkit", {
options: { pattern: "value", flags: "g", action: "find" }
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "regex-toolkit", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.