Minecraft Username: BackToThePast Brief Description: After recent update, I did "/setctag TeamRheas" and it did not let me change it. Later, I did "/setctag 1" and it worked. Instructions: 1. /setctag <letters> How many times did you recreate this bug?: 5~ Result: "Your Custom Tag can only be alphanumeric" Expected Result: It should change. Evidence: I cannot post any because I tested mine with numbers and it changed.
@JamieSinn I loaded this: - if (ctag.matches("[^a-zA-Z\\d]") || ctag.contains(" ") || ctag.contains("&")) + if (!ctag.matches("[a-zA-Z0-9]")) Broken.
Shouldn't this regex match any letter or digit, but only exactly one? Please ignore this if: a. I am still too tired to understand your intentions. b. I lack context to understand your intentions.
While not completely correct, you're on the right track. Matches checks if the regex matches any part of the string. Right now it checks if the regex doesn't match any alphanumeric characters instead of checking if it contains anything but alphanumeric. Basically it should be [^a-zA-Z0-9] or something. II can't double check, since I'm on my phone