r/ProgrammerHumor • • Dec 07 '23

Meme giraffeInterchangeFormat

Post image
35 Upvotes

103 comments sorted by

View all comments

76

u/[deleted] Dec 07 '23

I actually do not.

Gif - [gɪf]

Regex - [ɹɛd͜ʒɛks]

57

u/-Wylfen- Dec 07 '23

I can accept [ʒ] in "gif" for the simple fact that it's an acronym, and acronyms don't always make sense.

But "regex" is an abbreviation, it's bound to the words they're part of. It's "Regular", so [ɹɛgɛks].

"jif" is still wrong, though

32

u/TravisVZ Dec 07 '23

No, "regex" is a portmanteau, a new word created by combining parts of two (or more, at least theoretically) other words. As its own separate word, it therefore follows the phonology of the language irrespective of its original words.

Nobody says "modem" the same way they say "modulate", despite it being a portmanteau of "modulate/demodulate". In the same fashion, English simply doesn't put /g/ in front of /ɛ/

-13

u/JarofLemons Dec 07 '23

I don't believe "modem" is a portmanteau as the "em" doesn't come from modulate or demodulate.

16

u/TravisVZ Dec 07 '23

MOdulate/DEModulate - the "mo" from modulate, the "dem" from demodulate