Changes between Version 3 and Version 4 of RegexLinkPlugin


Ignore:
Timestamp:
Nov 22, 2008, 4:45:53 PM (6 years ago)
Author:
ComaVN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v3 v4  
    88
    99The intention of this Trac plugin is to allow these kinds of links to be made with a minimum of configuration, based on a regex that matches the external identifiers.
     10
     11== Known issues ==
     12
     13 *
    1014
    1115== Bugs/Feature Requests ==
     
    2731== Example ==
    2832
    29 Anythin matching the regex:
     33in trac.ini:
     34{{{
     35[regexlink]
     36regex1 = \b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdesknr>\d{3})\b
     37url1 = http://topdesk/?query=\g<topdeskyymm>%20\g<topdesknr>
     38}}}
     39This means anything matching the regex:
    3040{{{
    3141/\b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdeskid>\d{3})\b/
    3242}}}
    33 should link to a TOPdesk search url, using the named capture groups
     43links to a TOPdesk search url, using the named capture groups
     44
     45(the topdesk url is not correct, this is an example only)
    3446
    3547== Recent Changes ==