From 9f8791c8dfff4005a6b84c4aef9be279485f9673 Mon Sep 17 00:00:00 2001 From: SleepingCrows Date: Sat, 13 Jul 2024 00:02:36 -0400 Subject: [PATCH] Tuning new regex policy. --- policy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy.ts b/policy.ts index 8b74d0e..f5d3697 100644 --- a/policy.ts +++ b/policy.ts @@ -6,7 +6,7 @@ const kv = await Deno.openKv(); export default class AppPolicy implements NPolicy { async call(event: NostrEvent): Promise { const policy = new PipePolicy([ - new RegexPolicy(/This is a post from *(.+)/igm), + new RegexPolicy(/This is a post from *(.+)!/igm), new KeywordPolicy([ 'NSFW sexual content', ':nsfw:',