▲ 163 ▼ ELI5: How are these massive adblock lists kept updated so regularly? (lemmy.world) submitted 2 years ago by DeadNinja@lemmy.world to c/explainlikeimfive@lemmy.world 26 comments fedilink hide all child comments Do they get some kind of real-time feed that tells them "hey this URL popped up in the web today, but it is a tracker, so block it", or is this exercise is mostly helped by the crowd ?
[–] YaBoyMax@programming.dev 10 points 2 years ago (1 child) Can I parse [X]HTML with regex? permalink fedilink source parent hideshow 2 child comments replies: [–] Lith@lemmy.sdf.org 8 points 2 years ago (1 child) You can parse any plaintext with regex, but I would recommend using XPath for that use case, instead. permalink fedilink source parent hideshow 2 child comments replies: [–] YaBoyMax@programming.dev 7 points 2 years ago (1 child) https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags :) permalink fedilink source parent hideshow 2 child comments replies: [+] Lith@lemmy.sdf.org 1 point 2 years ago* [deleted] permalink fedilink source parent
[–] Lith@lemmy.sdf.org 8 points 2 years ago (1 child) You can parse any plaintext with regex, but I would recommend using XPath for that use case, instead. permalink fedilink source parent hideshow 2 child comments replies: [–] YaBoyMax@programming.dev 7 points 2 years ago (1 child) https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags :) permalink fedilink source parent hideshow 2 child comments replies: [+] Lith@lemmy.sdf.org 1 point 2 years ago* [deleted] permalink fedilink source parent
[–] YaBoyMax@programming.dev 7 points 2 years ago (1 child) https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags :) permalink fedilink source parent hideshow 2 child comments replies: [+] Lith@lemmy.sdf.org 1 point 2 years ago* [deleted] permalink fedilink source parent