Changes between Version 8 and Version 9 of RegexLinkPlugin


Ignore:
Timestamp:
Nov 22, 2008 5:13:27 PM (6 years ago)
Author:
ComaVN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v8 v9  
    1111== Known issues == 
    1212 
    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 
    1514 
    1615== Bugs/Feature Requests ==  
     
    3736regex1 = \b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdesknr>\d{3})\b 
    3837url1 = http://topdesk/?query=\g<topdeskyymm>%20\g<topdesknr> 
     38regex2 = \bexample(?P<exampleid>\d+)\b 
     39url2 = http://example.com\g<exampleid> 
    3940}}} 
    4041This means anything matching the regex links to a TOPdesk search url, using the named capture groups