"be consistent" | |
PerlMonks |
Re^3: Replace empty alt tag on <img> tag -- dont use a regexby Discipulus (Canon) |
on Jan 20, 2022 at 12:17 UTC ( [id://11140640]=note: print w/replies, xml ) | Need Help?? |
> can I do the same with regular expression?? no, Why a regex *really* isn't good enough for HTML and XML, even for "simple" tasks here at the monastery only tybalt89 owns a special permission to deal with HTML or XML using regular expressions L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|