App-Followme
    
    
  
  
  
view release on metacpan or search on metacpan
share/clean.pl view on Meta::CPAN
The replacement pattern contain the tags that replace the match and text. A
star in the pattern is replaced by the text matched by the corresponding star
in the match pattern. If the star is in a tag otion, set the option to 
the value in the corresponding option in the match pattern. Any other text is 
put in the output verbatim. Patterns can be grouped inside parentheses. The 
pattern will be copied as many times as were matched in the correpsonding set 
of parentheses in the match pattern.
The format is probably best explained by example:
    # Replace strong tags by bold
    <strong>*</strong> -> <b>*</b>
    # Replace center tags
    <center>*</center> -> <div class="centered">*</div>
    # Remove font tags
    <font>*</font> -> *
    # Remove style tag and its content (empty replacement)
    <style>*</style> ->
    # Replace div tags with p tags, keep class
    <div class=*>*</div> -> <p class=*>*</p>
    # Replace list with breaks
( run in 1.799 second using v1.01-cache-2.11-cpan-c333fce770f )