mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
NIP-50: Adding regex extension
This commit is contained in:
parent
c02b161d9e
commit
8a362d68a1
11
50.md
11
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:<domain>` - include only events from users whose valid nip05 domain matches the domain
|
||||
- `language:<two letter ISO 639-1 language code>` - include only events of a specified language
|
||||
- `sentiment:<negative/neutral/positive>` - include only events of a specific sentiment
|
||||
- `nsfw:<true/false>` - include or exclude nsfw events (default: true)
|
||||
- `include:spam` - turn off spam filtering, if it was enabled by default.
|
||||
- `domain:<domain>` - include only events from users whose valid nip05 domain matches the domain.
|
||||
- `language:<two letter ISO 639-1 language code>` - include only events of a specified language.
|
||||
- `sentiment:<negative/neutral/positive>` - include only events of a specific sentiment.
|
||||
- `nsfw:<true/false>` - include or exclude nsfw events. (default: true)
|
||||
- `regex:<regular-expression>` - A regex pattern to be searched.
|
||||
|
|
Loading…
Reference in New Issue
Block a user