[H-GEN] regex brian fade
Benjamin Fowler
ben.fowler.bjf at gmail.com
Fri Jun 5 06:44:05 EDT 2015
Hi,
On 5 June 2015 at 11:19, Peter Hall <hall.peter.john at gmail.com> wrote:
> Refer to the classic Stack Overflow post about parsing HTML with regular
> expressions for details about why this shouldn't be done in production:
> http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
>
> As for solving the problem at hand you could look into xmlstarlet as being
> easier to use than XSLT: http://xmlstar.sourceforge.net/doc/UG/ch04.html
>
>
This is rather awesome. This could have saved years of my life :-/
Cheers, Ben.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20150605/f937c898/attachment-0001.html>
More information about the General
mailing list