Waffelson@lemmy.world to linuxmemes@lemmy.world · 5 months agoHow paranoid are you?lemmy.worldimagemessage-square220fedilinkarrow-up1917arrow-down125
arrow-up1892arrow-down1imageHow paranoid are you?lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 5 months agomessage-square220fedilink
minus-squareAeonFelis@lemmy.worldlinkfedilinkEnglisharrow-up7·5 months agoWhy parse the HTML manually when sed is a standard utility and you can use it to parse it with regex?
minus-squareunivers3man@lemmy.worldlinkfedilinkarrow-up7·5 months agoOoh, it’s my turn to link this beauty. https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
minus-squareBuddahriffic@lemmy.worldlinkfedilinkarrow-up5·5 months agoInsert copypasta of angry nerd ranting about using regex to parse html.
Why parse the HTML manually when
sed
is a standard utility and you can use it to parse it with regex?Ooh, it’s my turn to link this beauty.
https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
Insert copypasta of angry nerd ranting about using regex to parse html.