Tyfon@programming.dev to Programmer Humor@programming.dev · 11 months agoMy VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥programming.devimagemessage-square11fedilinkarrow-up1106arrow-down15
arrow-up1101arrow-down1imageMy VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥programming.devTyfon@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square11fedilink
minus-squarePsycobob@programming.devlinkfedilinkarrow-up22·11 months agoIt looks like you tried to parse html using a regex. For reference: https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags#1732454
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·11 months agoIt works better if you remove linebreaks beforehand tho.
It looks like you tried to parse html using a regex.
For reference: https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags#1732454
It works better if you remove linebreaks beforehand tho.