Kent,
I'm working on a password-checking regex, can the account password consist of any characters i.e. the dot "." regex?
Thanks.
"....player name, from 3 to 12 characters. The player name can only consist of letters, numbers, dashes, and underscores."
".....Enter the password for this player, from 6 to 30 characters."
Account Password
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Account Password
You quoted the requirements in your message:
"The player name can only consist of letters, numbers, dashes, and underscores"
So the only non-alphanumeric characters allowed are the dash (-) and the underscore (_). Note that letters are not limited to the English a to z. Any character considered to be a letter in Unicode qualifies.
"The player name can only consist of letters, numbers, dashes, and underscores"
So the only non-alphanumeric characters allowed are the dash (-) and the underscore (_). Note that letters are not limited to the English a to z. Any character considered to be a letter in Unicode qualifies.
Re: Account Password
So to clarify, the requirements stated apply to both the player and password fields?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Account Password
Sorry, my mistake. I was thinking about player name, not player password. Passwords can be any character, with a length from 6 to 30 characters.daver wrote:So to clarify, the requirements stated apply to both the player and password fields?