From 8a362d68a11838d5beb7e59037bf799bc92a8bc8 Mon Sep 17 00:00:00 2001 From: kehiy Date: Wed, 4 Sep 2024 02:24:30 +0330 Subject: [PATCH] NIP-50: Adding regex extension --- 50.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/50.md b/50.md index 9eea1f85..84ccab1e 100644 --- a/50.md +++ b/50.md @@ -48,8 +48,9 @@ Relays SHOULD exclude spam from search results by default if they support some f ## Extensions Relay MAY support these extensions: -- `include:spam` - turn off spam filtering, if it was enabled by default -- `domain:` - include only events from users whose valid nip05 domain matches the domain -- `language:` - include only events of a specified language -- `sentiment:` - include only events of a specific sentiment -- `nsfw:` - include or exclude nsfw events (default: true) +- `include:spam` - turn off spam filtering, if it was enabled by default. +- `domain:` - include only events from users whose valid nip05 domain matches the domain. +- `language:` - include only events of a specified language. +- `sentiment:` - include only events of a specific sentiment. +- `nsfw:` - include or exclude nsfw events. (default: true) +- `regex:` - A regex pattern to be searched.