diff options
-rwxr-xr-x | forum/const.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/const.py b/forum/const.py index 07b0291c..d546e0c5 100755 --- a/forum/const.py +++ b/forum/const.py @@ -67,7 +67,7 @@ assert(UNANSWERED_MEANING in UNANSWERED_MEANING_LIST) #however it will be hard to expect that people will type #correct regexes - plus this must be an anchored regex #to do full string match -TAG_REGEX = r'^[a-z0-9\+\.\-]+$' +TAG_REGEX = r'^[\w\+\.\-]+$' TAG_SPLIT_REGEX = r'[ ,]+' MAX_TAG_LENGTH = 20 #default 20 chars MAX_TAGS_PER_POST = 5 #no more than five tags |