315
submitted 7 months ago by mac@programming.dev to c/comics@programming.dev

Hover Text:

Wait, forgot to escape a space. Wheeeeee[taptaptap]eeeeee!

Transcript

[in a yellow box:]
Whenever I learn a new skill I concoct elaborate fantasy scenarios where it lets me save the day.

Megan: Oh no! The killer must have followed her on vacation!
[Megan points to computer.]
Megan: But to find them we'd have to search through 200 MB of emails looking for something formatted like an address!
Cueball: It's hopeless!

Off-panel voice: Everybody stand back.

Off-panel voice: I know regular expressions.

[A man swings in on a rope, toward the computer.]

tap tap
The word PERL! appears in a bubble.

[The man swings away, and the other characters cheer.]

you are viewing a single comment's thread
view the rest of the comments
[-] BetterDev@programming.dev 13 points 7 months ago

Regex is fast and useful though. It's a tool in your toolbox that make certain situations extremely easy as the comic depicts.

[-] Diplomjodler@feddit.de 2 points 7 months ago

Sure. I'm just saying it was never worth the effort to learn it for me.

[-] DoYouNot@lemmy.world 9 points 7 months ago

I guess I'm just not sure what your doing in Python that is equivalent in some way to regex without using the re library. Like, do you mean you're using looped ifs and raw strings to do something similar?

this post was submitted on 01 Feb 2024
315 points (100.0% liked)

Comics

422 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 8 months ago
MODERATORS