Commits

Sebastian Wiesner committed f2bb3c9

Use raw string for regex pattern

  • Participants
  • Parent commits 1c11503

Comments (0)

Files changed (1)

File issuetracker/sphinxcontrib/issuetracker.py

     app.add_transform(IssuesReferences)
     app.connect('builder-inited', auto_connect_builtin_issue_resolvers)
     app.add_config_value('issuetracker_issue_pattern',
-                         re.compile('#(\d+)'), 'env')
+                         re.compile(r'#(\d+)'), 'env')
     app.add_config_value('issuetracker_user', None, 'env')
     app.add_config_value('issuetracker_project', None, 'env')
     app.add_config_value('issuetracker', None, 'env')