Changes between Version 1 and Version 2 of RegexLinkPlugin


Ignore:
Timestamp:
Nov 16, 2008 11:08:15 AM (6 years ago)
Author:
ComaVN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v1 v2  
    55A disadvantage of using InterWiki to link to external pages is that the user has to put a prefix before the link, for example MeatBall:InterMapTxt. 
    66 
    7 In some cases, the actual text to be linked is distinctive enough to be turned into a link without many false positives. For example, TOPdesk service management software uses identifiers like '0811 123' for incidents. When text of this form occurs, it could be automatically rendered into a links to the relevant TOPdesk page. 
     7In some cases, the actual text to be linked is distinctive enough to be turned into a link without many false positives. For example, TOPdesk service management software uses identifiers like '0811 123' for incidents. When text of this form occurs, it could be automatically rendered into a link to the relevant TOPdesk page. 
    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. 
     
    2828 
    2929Anythin matching the regex: 
    30 /\b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdeskid>\d{3})\b/ 
     30/\b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdeskid>\d{3})\b/ 
    3131should link to a TOPdesk search url, using the named capture groups 
    3232