Project

General

Profile

Actions

Defect #1612

closed

redmine links of type class:id do not like to be before a period.

Defect #1612: redmine links of type class:id do not like to be before a period.

Added by Paul Rivier over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
-
Resolution:
Fixed
Affected version:

Description

Exemple : please have a look in source:trunk.
while "source:trunk" would work, "source:trunk." wont.

It is quiet common to put a link at the end of the sentence, therefore I think the regexp should exclude this dot when followed by a blanck or an end of line.

What do others think ?


Files

repo_links.patch (2.05 KB) repo_links.patch patch against current stable 0.7.3 Paul Rivier, 2008-07-10 15:16
repo_link.patch (2.05 KB) repo_link.patch patch against current trunk r1648 Paul Rivier, 2008-07-10 15:16

Updated by Jean-Philippe Lang over 18 years ago Actions #1

I agree. Do you have a patch ?

Updated by Paul Rivier over 18 years ago Actions #2

Here we go.
It turns path matching to non greedy variant, so the stop condition will work. The stop condition has been slightly changed as well. There are 2 or 3 test cases included also.

Updated by Jean-Philippe Lang over 18 years ago Actions #3

  • Status changed from New to Closed
  • Resolution set to Fixed

Fix committed in r1650 with a few additional tests (source file name containing a period).

Actions

Also available in: PDF Atom