minus-squareRoadieRich@midwest.socialtoProgramming@programming.dev•'Don't parse markup languages with Regex' is an annoying trollpost and it should die... right?linkfedilinkEnglisharrow-up59·5 months agoThe things is, if you try to parse html with a regex, you will always be able to construct valid html that will break it, no matter how complex your regex becomes. linkfedilink
minus-squareRoadieRich@midwest.socialtoProgramming@programming.dev•Hear me out: A scripting language that compiles to bash or sh (any suggestions?)linkfedilinkEnglisharrow-up8arrow-down1·1 year agoPython or Perl. IIRC, I’ve seen systems with a Perl install by default, but not Python. linkfedilink
RoadieRich@midwest.social to Lemmy Shitpost@lemmy.worldEnglish · edit-21 year agoLord of the Beansmidwest.socialimagemessage-square0fedilinkarrow-up127arrow-down18
arrow-up119arrow-down1imageLord of the Beansmidwest.socialRoadieRich@midwest.social to Lemmy Shitpost@lemmy.worldEnglish · edit-21 year agomessage-square0fedilink
The things is, if you try to parse html with a regex, you will always be able to construct valid html that will break it, no matter how complex your regex becomes.