Changes between Version 9 and Version 10 of RegexLinkPlugin
- Timestamp:
- Nov 22, 2008, 5:42:35 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RegexLinkPlugin
v9 v10 35 35 [regexlink] 36 36 regex1 = \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>37 url1 = http://topdesk/query=\g<topdeskyymm>%20\g<topdesknr> 38 38 regex2 = \bexample(?P<exampleid>\d+)\b 39 url2 = http://example. com\g<exampleid>39 url2 = http://example.org/\g<exampleid> 40 40 }}} 41 This means anything matching the regex links to a TOPdesk search url, using the named capture groups41 This means 0811 123 becomes a link to topdesk/query=0811%0123, and example123 becomes a link to example.org/123 42 42 43 43 (the topdesk url is not correct, this is an example only)