Changes between Version 1 and Version 2 of RegexLinkPlugin
- Timestamp:
- Nov 16, 2008, 10:08:15 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RegexLinkPlugin
v1 v2 5 5 A 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. 6 6 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 link sto the relevant TOPdesk page.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 link to the relevant TOPdesk page. 8 8 9 9 The 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. … … 28 28 29 29 Anythin 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/ 31 31 should link to a TOPdesk search url, using the named capture groups 32 32