changeset 5841:827e64d68a05

spelling: greedy
author timeless@gmail.com
date Tue, 03 May 2016 11:55:43 +0000
parents e4e16ad12875
children c47e7838fe9d
files kallithea/lib/utils2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/utils2.py	Tue May 03 11:55:14 2016 +0000
+++ b/kallithea/lib/utils2.py	Tue May 03 11:55:43 2016 +0000
@@ -574,7 +574,7 @@
 
 # Must match regexp in kallithea/public/js/base.js MentionsAutoComplete()
 # Check char before @ - it must not look like we are in an email addresses.
-# Matching is gready so we don't have to look beyond the end.
+# Matching is greedy so we don't have to look beyond the end.
 MENTIONS_REGEX = re.compile(r'(?:^|(?<=[^a-zA-Z0-9]))@([a-zA-Z0-9][-_.a-zA-Z0-9]*[a-zA-Z0-9])')
 
 def extract_mentioned_users(s):