Menel on Nostr: I'm using snac with and am following Hashtags now, and am getting a lot of nice ...
I'm using snac with and am following Hashtags now, and am getting a lot of nice content from specialized Hashtag-Relays. I have now a Problem with unwanted Posts that happen to use Hashtags I want to keep too. But I could Filter them my unwanted Hashtags they use.
Snac supports regex, but now The Question:
how do I know in what form the Regex is expected in my filter_reject.txt?
I want to block a Hashtag case insenitive
/#WhatIBlock/i
or (?i)#WhatIBlock
or maybe something else? It Seems the web is full of different ways to specify regex.
#snac #snac2 #regex #askfedi
Published at
2025-02-09 21:11:18Event JSON
{
"id": "ff9abaf6041ae909da44a80f621a4feb61852d5b8979248b2e44f822e4237f35",
"pubkey": "7aefd706e7d93feeed62e8cfd1c932f6b13a2cfc470d795cffa185ae0aaff907",
"created_at": 1739135478,
"kind": 1,
"tags": [
[
"t",
"whatiblock"
],
[
"t",
"whatiblock"
],
[
"t",
"snac"
],
[
"t",
"snac2"
],
[
"t",
"regex"
],
[
"t",
"askfedi"
],
[
"proxy",
"https://snikket.de/social/menel/p/1739135478.154477",
"activitypub"
]
],
"content": "I'm using snac with and am following Hashtags now, and am getting a lot of nice content from specialized Hashtag-Relays. I have now a Problem with unwanted Posts that happen to use Hashtags I want to keep too. But I could Filter them my unwanted Hashtags they use.\n\nSnac supports regex, but now The Question:\nhow do I know in what form the Regex is expected in my filter_reject.txt?\nI want to block a Hashtag case insenitive\n/#WhatIBlock/i\nor (?i)#WhatIBlock\nor maybe something else? It Seems the web is full of different ways to specify regex.\n\n#snac #snac2 #regex #askfedi\n",
"sig": "49d016012fbc70d234490a7e5a8833e5f9d0eec11cd160dc26a3408fbe8cde72635ee6faa12064017a184cfc7c6e43df5dde402a6ca259c97b0cdaa4b336c367"
}