in reply to Re^3: Replace empty alt tag on <img> tag -- dont use a regex
in thread Replace empty alt tag on <img> tag

> here at the monastery only tybalt89 owns a special permission to deal with HTML or XML using regular expressions

Agreed that tybalt89 has earned it. To nitpick though, I think TheDamian is also worthy of this special permission.

The PPR module provides a single regular expression that defines a set of independent subpatterns suitable for matching entire Perl documents

-- from PPR by TheDamian (as if you couldn't guess ;-)

See also these comments by kcott and haukex, discussing the differences between PPR and PPI.

  • Comment on Re^4: Replace empty alt tag on <img> tag -- dont use a regex

Replies are listed 'Best First'.
Re^5: Replace empty alt tag on <img> tag -- dont use a regex (honorary mention)
by LanX (Saint) on Jan 21, 2022 at 00:03 UTC