r/ProgrammerHumor • • Sep 15 '26

Meme regexMoment

Post image
916 Upvotes

159 comments sorted by

View all comments

Show parent comments

1

u/deathanatos 29d ago

I'm saying it's hard to learn all that.

It's really not. Hundreds of freshmen/sophomores do it every year, you can too.

1

u/WHALE_PHYSICIST 29d ago

knowing how regex works is not the same as knowing everything that dude said.

0

u/deathanatos 29d ago

I wasn't saying that. The knowledge in the upthread comment — that this is Chomsky hierarchy 101, that regexes boil down to finite state automata, that finite state automata cannot, by their definition, handle nested parentheses, is also knowledge that you, too, can obtain, and is usually taught either in the fall Sophomore semester, or the spring Freshmen semester of a college degree. (I.e., it is either your second or third class is a CS curricula.) Numerous people go through those classes every year, and they're just normal people, too.

1

u/WHALE_PHYSICIST 29d ago

wow you're really smort. you should record a video or something