mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
207 stars 44 forks source link

Update join regex - support for IPv6 format #113

Closed aljaxus closed 4 years ago

aljaxus commented 5 years ago

Old regxp (not supporting IPv6) - https://regex101.com/r/lIGqg2/2/

New regxp:

gsand commented 4 years ago

Will check this out tonight and merge if regex is bulletproof ;)

Does this support the login format for 1.7 to now?

aljaxus commented 4 years ago

I haven't tested with 1.7 If need, and the required samples are provided, I can modify the reg. expression to match them.