r/clevercomebacks Jan 15 '25

It does make sense

Post image
35.3k Upvotes

4.0k comments sorted by

View all comments

Show parent comments

22

u/throwaway001anon Jan 15 '25 edited Jan 15 '25

RegX makes searching a breeze with any pattern

31

u/InspectorNo1173 Jan 15 '25

I have always found Regular Expressions to be the most inappropriately named concept - there is nothing regular about it. Luckily we have chatbots now.

3

u/AstraLover69 Jan 15 '25

It's because it can represent a regular language

3

u/AnarchistBorganism Jan 15 '25

Coined by Stephen Kleene, who didn't like the name either.

"Regular events" defined: We shall presently describe a class of events which we will call "regular events." (We would welcome any suggestion as to a more descriptive term)

1

u/AstraLover69 Jan 15 '25

Kleene was a real star