Antenna filter does not use any regex #451

Open
opened 2023-12-15 17:19:00 +01:00 by tournesol · 0 comments
Contributor

Antenna filter only works by putting an OR operator on items on different lines and an AND operator on items on same lines.

This means that searching for cats with the word cat, you will also fish out the words catapult or locate.
This could be solved by using regex or a more user friendly to filter text. (I firstly thought that putting "cat" would work for example)

Sources :

Thanks to Namori for the help finding all of this

Antenna filter only works by putting an OR operator on items on different lines and an AND operator on items on same lines. This means that searching for cats with the word `cat`, you will also fish out the words `catapult` or `locate`. This could be solved by using regex or a more user friendly to filter text. (I firstly thought that putting `"cat"` would work for example) Sources : - [Check hit antennas *lines 93-110*](https://iceshrimp.dev/iceshrimp/iceshrimp/src/branch/dev/packages/backend/src/misc/check-hit-antenna.ts) - [Form and Edition *lines 190-193*](https://iceshrimp.dev/iceshrimp/iceshrimp/src/branch/dev/packages/client/src/pages/my-antennas/editor.vue) *Thanks to Namori for the help finding all of this*
AntoineD added the
enhancement
backend
labels 2023-12-15 17:24:35 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: iceshrimp/iceshrimp#451
No description provided.