diff --git a/progit/hooks/files/progit_hook.py b/progit/hooks/files/progit_hook.py index 795bd50..042f6cd 100644 --- a/progit/hooks/files/progit_hook.py +++ b/progit/hooks/files/progit_hook.py @@ -18,10 +18,10 @@ if 'PROGIT_CONFIG' not in os.environ \ FIXES = [ - re.compile('fixe[sd]?:?\s?#(\d+)', re.I), - re.compile('.*\s+fixe[sd]?:?\s?#(\d+)', re.I), - re.compile('fixe[sd]?:?\s?https?://.*/(\w+)/issue/(\d+)', re.I), - re.compile('.*\s+fixe[sd]?:?\s?https?://.*/(\w+)/issue/(\d+)', re.I), + re.compile('fixe?[sd]?:?\s?#(\d+)', re.I), + re.compile('.*\s+fixe?[sd]?:?\s?#(\d+)', re.I), + re.compile('fixe?[sd]?:?\s?https?://.*/(\w+)/issue/(\d+)', re.I), + re.compile('.*\s+fixe?[sd]?:?\s?https?://.*/(\w+)/issue/(\d+)', re.I), ] RELATES = [