Closed netravnen closed 1 week ago
@netravnen looks good, thanks!
We just need to add a couple tests for that, if you want to do that, otherwise we will before the next release on 05-28.
We just need to add a couple tests for that, if you want to do that, otherwise we will before the next release on 05-28.
I have ATM no experience writing tests using Python frameworks. And do not expect to pick this up before the 28-May date. :(
@netravnen no worries at all, we'll do it quick :) Thanks for the patch!
Tests done in support branch, will be merged in for next release.
are different for the generalized regex match.
https://help.twitter.com/en/managing-your-account/x-username-rules
Add a specific if-else regex match for X usernames to take into account that PeeringDB users are able to have X usernames of less than 4 characters that are the current minimum our generalized username regexer checks in the string length match. I.e. We currently accept 4-32. X allows 1-15 in length.