735
submitted 2 months ago* (last edited 2 months ago) by lvxferre@mander.xyz to c/fedibridge@lemmy.dbzer0.com

EDIT: @mindbleach@sh.itjust.works shared something that might help to circumvent this shit:

Contained in these parentheses is a zero-width joiner: (​)

Basically, add those to whatever you feel that might be filtered out, then remove the parentheses. The content inside the parentheses is invisible, but it screws with regex rules.

you are viewing a single comment's thread
view the rest of the comments
[-] lvxferre@mander.xyz 3 points 2 months ago

If it weren't working your code wouldn't count an additional character on the first string.

Anyway, this is the character., as it seems that deleting the first parenthesis also deletes the ZWJ.

this post was submitted on 15 Feb 2025
735 points (100.0% liked)

Fedibridge

572 readers
5 users here now

A community to organize and discuss the growth of the fediverse as a whole

Related communities

Megathreads

founded 2 months ago
MODERATORS