Changes between Initial Version and Version 1 of RegexLinkPlugin


Ignore:
Timestamp:
Nov 16, 2008, 9:38:35 AM (15 years ago)
Author:
ComaVN
Comment:

New hack RegexLinkPlugin, created by ComaVN

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v1 v1  
     1= Turn anything matching a certain regex into a link =
     2
     3== Description ==
     4
     5A 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
     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 links to the relevant TOPdesk page.
     8
     9The 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== Bugs/Feature Requests ==
     12
     13Existing bugs and feature requests for RegexLinkPlugin are
     14[report:9?COMPONENT=RegexLinkPlugin here].
     15
     16If you have any issues, create a
     17[http://trac-hacks.org/newticket?component=RegexLinkPlugin&owner=ComaVN new ticket].
     18
     19== Download ==
     20
     21Download the zipped source from [download:regexlinkplugin here].
     22
     23== Source ==
     24
     25You can check out RegexLinkPlugin from [http://trac-hacks.org/svn/regexlinkplugin here] using Subversion, or [source:regexlinkplugin browse the source] with Trac.
     26
     27== Example ==
     28
     29Anythin matching the regex:
     30/\b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdeskid>\d{3})\b/
     31should link to a TOPdesk search url, using the named capture groups
     32
     33== Recent Changes ==
     34
     35[[ChangeLog(regexlinkplugin, 3)]]
     36
     37== Author/Contributors ==
     38
     39'''Author:''' [wiki:ComaVN] [[BR]]
     40'''Contributors:'''