# HG changeset patch # User Bartlomiej Wolynczyk # Date 2020-01-20 11:48:49 # Node ID 9041744d4ca3c964025ef5c333d37da69f3f354b # Parent c6fa26d38ec7caadc4d2bd57ca83f6144b9f2063 issue-tracker: fixed wrong examples in patterns. diff --git a/rhodecode/templates/base/issue_tracker_settings.mako b/rhodecode/templates/base/issue_tracker_settings.mako --- a/rhodecode/templates/base/issue_tracker_settings.mako +++ b/rhodecode/templates/base/issue_tracker_settings.mako @@ -59,14 +59,14 @@ examples = [ ( 'Pivotal Tracker', - '(?:pivot-)(?\d+)-(?\d+)', + '(?:pivot-)(?P\d+)-(?P\d+)', 'https://www.pivotaltracker.com/s/projects/${project_id}/stories/${story}', 'PIV-', ), ( 'Trello', - '(?:trello-)(?[a-zA-Z0-9]+)', + '(?:trello-)(?P[a-zA-Z0-9]+)', 'https://trello.com/example.com/${card_id}', 'TRELLO-', ),