Tatsuhiko Miyagawa > Plagger-0.7.3 > Plagger::Plugin::Filter::Regexp

Download:
Plagger-0.7.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Source   Latest Release: Plagger-0.7.17

NAME ^

Plagger::Plugin::Filter::Regexp - Rewrite entry body using regular expression

SYNOPSIS ^

  - module: Filter::Regexp
    config:
      regexp: s/Plagger/$1, the pluggable Aggregator/g
      text_only: 1

DESCRIPTION ^

This plugin applies regular expression to each entry body by using eval.

CONFIG ^

text_only

When set to 1, uses HTML::Parser so that the regexp substition should be applied only to HTML text part. Defaults to 0.

AUTHOR ^

Tatsuhiko Miyagawa

SEE ALSO ^

Plagger, HTML::Parser

syntax highlighting: