Elgg/Elgg — pull request #101 by nachopavon (2011-12-02 12:48:25+00:00)
Title: Fixes #4085 if someone writes a dot after the username

Fixes #4085 (hope so as it was reopened) Changes the regexp for the last word in the username, so it can contain dots but has to finish in a word. This way if someo writes nacho.pavon. as the username it will include only nacho.pavon as username.