Think about Loose Coupling | |
PerlMonks |
Re: Why a regex *really* isn't good enough for HTML and XML, even for "simple" tasksby choroba (Cardinal) |
on Sep 25, 2020 at 09:32 UTC ( [id://11122195]=note: print w/replies, xml ) | Need Help?? |
This is an interesting regex semi-solution: Shallow XML parsing using XML::Parser::REX which is regex-based.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|