diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index 4402f0d37..eda4c8ab1 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -179,7 +179,8 @@ class Blocks { const regexes: string[] = JSON.parse(pools[i].regexes); for (let y = 0; y < regexes.length; ++y) { - const match = asciiScriptSig.match(regexes[y]); + const regex = new RegExp(regexes[y], 'i'); + const match = asciiScriptSig.match(regex); if (match !== null) { return pools[i]; }