@Tyfon to Programmer Humor • 8 months agoMy VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥imagemessage-square12arrow-up1108arrow-down15
arrow-up1103arrow-down1imageMy VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥@Tyfon to Programmer Humor • 8 months agomessage-square12
minus-square@Psycoboblink23•8 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-squareMinekPo1 [She/Her]linkfedilink1•8 months agoI’m think the answer there does not apply to the PHP version of regex though I’m not entirely sure
minus-square@[email protected]linkfedilink1•8 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
I’m think the answer there does not apply to the PHP version of regex though I’m not entirely sure
It works better if you remove linebreaks beforehand tho.