feat: add multi-engine regex flavour support
This commit is contained in:
82
public/engines/go/engine-metadata.json
Normal file
82
public/engines/go/engine-metadata.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"engine": "go",
|
||||
"engineName": "Go standard-library regexp",
|
||||
"engineVersion": "1.26.5",
|
||||
"semanticIdentity": "Go 1.26.5 standard-library regexp (RE2 syntax), official js/wasm runtime",
|
||||
"status": "production-native-runtime",
|
||||
"bridge": {
|
||||
"abiVersion": 1,
|
||||
"offsetUnit": "utf8-byte",
|
||||
"requestEncoding": "Exact UTF-8-bounded JSON values with worst-case escape allowance; fixed callbacks; base64 UTF-8 replacement output; no source evaluation",
|
||||
"supportedApplicationFlags": [
|
||||
"g",
|
||||
"i",
|
||||
"m",
|
||||
"s",
|
||||
"U"
|
||||
],
|
||||
"replacement": "Bounded streaming expansion with regexp.ExpandString grammar, parity-checked against the native API.",
|
||||
"limits": {
|
||||
"maximumPatternBytes": 262144,
|
||||
"maximumSubjectBytes": 16777216,
|
||||
"maximumReplacementBytes": 262144,
|
||||
"maximumMatches": 10000,
|
||||
"maximumCaptureRows": 100000,
|
||||
"maximumCaptureGroups": 1000,
|
||||
"maximumOutputBytes": 67108864,
|
||||
"maximumRequestJSONBytes": 103874560
|
||||
},
|
||||
"sourceFiles": [
|
||||
{
|
||||
"path": "engines/go/README.md",
|
||||
"sha256": "c23792b39383ab1f68880354b829d926e3bd08b1f6afa19a595f0d228a4a5059",
|
||||
"bytes": 1453
|
||||
},
|
||||
{
|
||||
"path": "engines/go/go.mod",
|
||||
"sha256": "b2744a26c11ce6be55fabd2109b89f34b0db413abab8b40c9f7e8ea83e8b7bff",
|
||||
"bytes": 85
|
||||
},
|
||||
{
|
||||
"path": "engines/go/main.go",
|
||||
"sha256": "e9411ffedc844ed1a3af3642cac52efbedfd64407ad2cb99e9ccdddf039b6578",
|
||||
"bytes": 15179
|
||||
}
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://go.googlesource.com/go",
|
||||
"tag": "go1.26.5",
|
||||
"commitSha1": "c19862e5f8415b4f24b189d065ed739517c548ba",
|
||||
"treeSha1": "0bb2fb1cc06c334c36a2a92d2f0b07fea7236d74",
|
||||
"license": "BSD-3-Clause"
|
||||
},
|
||||
"toolchain": {
|
||||
"version": "go1.26.5",
|
||||
"host": "linux/amd64",
|
||||
"target": "js/wasm",
|
||||
"archive": "https://go.dev/dl/go1.26.5.linux-amd64.tar.gz",
|
||||
"archiveSha256": "5c2c3b16caefa1d968a94c1daca04a7ca301a496d9b086e17ad77bb81393f053",
|
||||
"wasmExecSha256": "0c949f4996f9a89698e4b5c586de32249c3b69b7baadb64d220073cc04acba14",
|
||||
"build": "CGO_ENABLED=0 GOOS=js GOARCH=wasm go build -trimpath -buildvcs=false -ldflags=-s,-w,-buildid="
|
||||
},
|
||||
"sourceDateEpoch": 1783452544,
|
||||
"files": [
|
||||
{
|
||||
"path": "LICENSE-Go.txt",
|
||||
"sha256": "911f8f5782931320f5b8d1160a76365b83aea6447ee6c04fa6d5591467db9dad",
|
||||
"bytes": 1453
|
||||
},
|
||||
{
|
||||
"path": "go-regex.wasm",
|
||||
"sha256": "ddafd6401e0674c048ee066677157db0b03480f716262845ea30639daffb3ae5",
|
||||
"bytes": 3904895
|
||||
},
|
||||
{
|
||||
"path": "wasm_exec.mjs",
|
||||
"sha256": "0c949f4996f9a89698e4b5c586de32249c3b69b7baadb64d220073cc04acba14",
|
||||
"bytes": 16992
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user