I can't seem to find it in the #Mastodon docs, but I'm trying to come up with a #regex for validating Mastodon usernames and can't find exactly what's allowed.
Part of me wants to treat it like an e-mail address with an extra at sign.
I can't seem to find it in the #Mastodon docs, but I'm trying to come up with a #regex for validating Mastodon usernames and can't find exactly what's allowed.
Part of me wants to treat it like an e-mail address with an extra at sign.
@jszym that's because Mastodon is probably just using ActivityPub rules that every other ActivityPub software probably also uses.
https://www.w3.org/community/reports/socialcg/CG-FINAL-apwf-20240608/#rules
@jszym no problem. Overall, Mastodon doesn't like to conform to ActovityPub standards, however, if you're ever looking for a way Mastodon does something and they don't have a clear stated way to do it, it's always good to look for ActivityPubs way of doing it.👍
@BeAware Thank you!!
@BeAware Just in case anyone else comes across this, I found the regex at the linked page didn't really match super well with the text of the page.
This is one that seems to make a lot more sense to me:
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.