:-)
You're quite correct. I'll add appropriate disclaimers to the code.
It doesn't use the XML modules for two reasons. One reasonable, one not:
It does what I need it to do. You're right about it not handling XML properly. I guess I've internalised the limitations of tgrep and know when to use it and when to write some XSLT (or whatever).
There's probably a lesson in that for me.
In reply to Re^2: tgrep - A grep for XML/HTML tags
by adrianh
in thread tgrep - A grep for HTML tags
by adrianh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |