Page 1 of 1

Account Password

Posted: Wed Mar 21, 2012 12:37 am
by daver
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."

Re: Account Password

Posted: Wed Mar 21, 2012 9:17 am
by Kent Briggs
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.

Re: Account Password

Posted: Wed Mar 21, 2012 10:53 pm
by daver
So to clarify, the requirements stated apply to both the player and password fields?

Re: Account Password

Posted: Wed Mar 21, 2012 11:23 pm
by Kent Briggs
daver wrote:So to clarify, the requirements stated apply to both the player and password fields?
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.

Re: Account Password

Posted: Wed Mar 21, 2012 11:46 pm
by daver
Understood..thanks