Parens in Tags
!Friendica Support
In future versions of Friendica, is it possible to not include parens (specifically close parens) in tags the same way you can't use other punctuation? (so that this doesn't #happen)
In future versions of Friendica, is it possible to not include parens (specifically close parens) in tags the same way you can't use other punctuation? (so that this doesn't #happen)
Friendica Support reshared this.
glyn
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.
Friendica Support reshared this.
screwlisp
in reply to Jonathan Lamothe • • •@helpers
Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Hypolite Petovan • •Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •@Jonathan Lamothe We have a pretty lax policy when it comes to hashtags. We accept letters, numbers and special characters including spaces (even though I don't think we match them, but I can see them in the autocompletion from received posts' tags).
We could tighten the accepted range to exclude some characters, but how do you decide which ones?
Jonathan Lamothe
in reply to Hypolite Petovan • •@Hypolite Petovan I mean, for matching when a post is made, I'd personally stick with alphanumeric (plus perhaps underscore?)
If you want to add other characters, perhaps some kind of notation for deliberately doing that, such as @screwlisp's suggestion here? (which may have been tongue-in-cheek, but...)
screwlisp
2024-03-29 04:05:51
screwlisp likes this.
Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Hypolite Petovan • •Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Hypolite Petovan • •Friendica Support reshared this.
utzer [Friendica]
in reply to Jonathan Lamothe • • •@Jonathan Lamothe @Hypolite Petovan so what actually would be needed is the regex to exclude all the unwanted characters, like parenthesis or no width space and then whenever we find some character that should terminate a tag we can add it to the regex.
@Hypolite Petovan out of interest, do you know where this is done in the code?
Hypolite Petovan
in reply to utzer [Friendica] • • •Jonathan Lamothe
in reply to Hypolite Petovan • •Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •- github.com/friendica/friendica…
- github.com/friendica/friendica…
Jonathan Lamothe
in reply to Hypolite Petovan • •Friendica Support reshared this.
Hypolite Petovan
in reply to Jonathan Lamothe • • •utzer [Friendica]
in reply to Hypolite Petovan • • •@Jonathan Lamothe