Issues

ZF-9084: Regex in _validateScreenName allows 20 characters

Description

Shouldn't the regex used in the validateScreenName method not be '/^[a-zA-Z0-9]{0,15}$/' instead of '/^[a-zA-Z0-9_]{0,20}$/' as the follow-up Exception message indicates?

Comments

Yes, Twitter usernames are limited to 15 chars. Updated the regex in attached patch.

Patch applied to trunk and 1.11 release branch -- will release with 1.11.1.