this post was submitted on 08 Sep 2023
165 points (99.4% liked)

Explain Like I'm Five

14289 readers
1 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

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 ?

you are viewing a single comment's thread
view the rest of the comments
[–] JPAKx4@lemmy.sdf.org 37 points 1 year ago (3 children)

I love regex, I'm not even gonna lie. To be fair, my expressions haven't been 50+ characters long, but still.

[–] Lmaydev@programming.dev 19 points 1 year ago (1 children)

Regex absolutely has many great uses. The issue is people trying to use for things they shouldn't. Then it suddenly becomes a nightmare.

[–] YaBoyMax@programming.dev 10 points 1 year ago (1 children)

Can I parse [X]HTML with regex?

[–] Lith@lemmy.sdf.org 8 points 1 year ago (1 children)

You can parse any plaintext with regex, but I would recommend using XPath for that use case, instead.

[–] Zikeji@programming.dev 11 points 1 year ago

Same, I've never understood the hate. But then again I memorize based off of patterns and regex in my brain is just a pattern.

[–] ShunkW@lemmy.world 8 points 1 year ago (1 children)

I used to play regex games online lol. I once wrote a pattern for work that was ~200 characters. I loved doing it lol.

[–] Navigate@partizle.com 2 points 1 year ago

Seems like an interesting way to learn. Do you remember any of them?