javadocs for regex checks on input

Also changed the real name regex. It is still commented out and needs to be tested.