diff options
Diffstat (limited to 'askbot/const/__init__.py')
-rw-r--r-- | askbot/const/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py index 0006714d..8b6fc9bd 100644 --- a/askbot/const/__init__.py +++ b/askbot/const/__init__.py @@ -215,7 +215,7 @@ NOTIFICATION_DELIVERY_SCHEDULE_CHOICES= ( ) USERS_PAGE_SIZE = 28#todo: move it to settings? -USERNAME_REGEX_STRING = r'^[\w \-]+$' +USERNAME_REGEX_STRING = r'^[\w \-.@+\']+$' #chars that can go before or after @mention TWITTER_STYLE_MENTION_TERMINATION_CHARS = '\n ;:,.!?<>"\'' |