this post was submitted on 08 Sep 2023
165 points (99.4% liked)
Explain Like I'm Five
14306 readers
445 users here now
Simplifying Complexity, One Answer at a Time!
Rules
- Be respectful and inclusive.
- No harassment, hate speech, or trolling.
- Engage in constructive discussions.
- Share relevant content.
- Follow guidelines and moderators' instructions.
- Use appropriate language and tone.
- Report violations.
- Foster a continuous learning environment.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Regular expression magic.
A lot of ad networks have a pattern to the name or the window the advert appears in.
Using regular expression you can find just the adwindow and ignore the actual content.
Now what is regular expression? A wizard language.
ask any programmer about RE after 4 beers and watch the hate wash over their face.
I love regex, I'm not even gonna lie. To be fair, my expressions haven't been 50+ characters long, but still.
I used to play regex games online lol. I once wrote a pattern for work that was ~200 characters. I loved doing it lol.
Seems like an interesting way to learn. Do you remember any of them?