Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: Replace empty alt tag on <img> tagby The Perlman (Scribe) |
on Jan 20, 2022 at 16:42 UTC ( [id://11140648]=note: print w/replies, xml ) | Need Help?? |
Generally yes, at least since Perl regex are turing complete
The real question should be: Is it possible with a simple regex? Answer: No. A regex parsing HTML wouldn't be less complex than a full scale HTML parser and consist of various nested sub expressions. Certainly not a one liner.
- Ron
In Section
Seekers of Perl Wisdom
|
|