Changes between Version 8 and Version 9 of RegexLinkPlugin
- Timestamp:
- Nov 22, 2008, 4:13:27 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RegexLinkPlugin
v8 v9 11 11 == Known issues == 12 12 13 * It only works for one regex/url pair 14 * Anchor should be prefixed with image to indicate external link 13 * Unnamed groups in the regex cannot be used in the url 15 14 16 15 == Bugs/Feature Requests == … … 37 36 regex1 = \b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdesknr>\d{3})\b 38 37 url1 = http://topdesk/?query=\g<topdeskyymm>%20\g<topdesknr> 38 regex2 = \bexample(?P<exampleid>\d+)\b 39 url2 = http://example.com\g<exampleid> 39 40 }}} 40 41 This means anything matching the regex links to a TOPdesk search url, using the named capture groups