Skip to content

Commit 25306d6

Browse files
authored
Merge pull request #18 from Rishikant181/fix/ondemand-regex
2 parents 226e9c0 + 1d4489e commit 25306d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { decodeBase64, encodeBase64 } from "@std/encoding";
2222
const ON_DEMAND_CHUNK_NAME = "ondemand.s";
2323
const INDICES_REGEX = /\(\w\[(\d{1,2})\],\s*16\)/g;
2424
const ON_DEMAND_FILE_HASH_REGEX =
25-
/(\d+):\s*["']ondemand\.s["'][\s\S]*?\}\[e\]\s*\|\|\s*e\)\s*\+\s*["']\.["']\s*\+\s*\{[\s\S]*?\b\1:\s*["']([a-zA-Z0-9_-]+)["']/s;
25+
/(\d+):\s*["']ondemand\.s["'][\s\S]*?\}\)\[e\]\s*\|\|\s*e\)\s*\+\s*["']\.["']\s*\+\s*\(\{[\s\S]*?\b\1:\s*["']([a-zA-Z0-9_-]+)["']/s;
2626

2727
function resolveOnDemandFileUrlFromRuntime(
2828
runtimeSource: string,

0 commit comments

Comments
 (0)