in reply to Re^6: Regex problem while parsing tagged, hierarchical data
in thread Regex problem while parsing tagged, hierarchical data
33 chars !
Mago
mago@rio.pm.org
perl -pi -e '/l1(\sid=.*)>/?$a=$1:s;l2>;l2$a>;' input
Mago
mago@rio.pm.org
|
---|
In Section
Seekers of Perl Wisdom