Changes between Version 9 and Version 10 of RegexLinkPlugin


Ignore:
Timestamp:
Nov 22, 2008, 6:42:35 PM (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v9 v10  
    3535[regexlink]
    3636regex1 = \b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdesknr>\d{3})\b
    37 url1 = http://topdesk/?query=\g<topdeskyymm>%20\g<topdesknr>
     37url1 = http://topdesk/query=\g<topdeskyymm>%20\g<topdesknr>
    3838regex2 = \bexample(?P<exampleid>\d+)\b
    39 url2 = http://example.com\g<exampleid>
     39url2 = http://example.org/\g<exampleid>
    4040}}}
    41 This means anything matching the regex links to a TOPdesk search url, using the named capture groups
     41This means 0811 123 becomes a link to topdesk/query=0811%0123, and example123 becomes a link to example.org/123
    4242
    4343(the topdesk url is not correct, this is an example only)