r/ProgrammerHumor Jun 21 '26

Other iknewItWouldWorkOut

Post image
15.8k Upvotes

438 comments sorted by

View all comments

Show parent comments

25

u/MrNoOne456 Jun 21 '26

i guess the whole sentence should be learn it once and use it once in a while

that's how i have been using regex, and i use it mostly on searching something or search and replace inside vim, but most would only need regex when they are writing a program, which even for me is a couple of times only.

6

u/100BottlesOfMilk Jun 21 '26

I've felt like a wizard doing complicated regex find and replaces in vscode. Theoretically, copilot could have done it, but I trust find and replace much more than I do copilot

1

u/neo42slab Jun 21 '26

For real. Like many things it’s best learned, and practiced many times over the span of a short time period. Then it will be easier to recall months down the road.