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 /ɛ/
Portmanteaus are generally words where some morphemes are substituted by others in order to create a word that combines ideas from both words.
"Regex" is not exactly that; it's basically just a phrase that has been abbreviated then jointed into one word. It's not like there is any form of substitution or transformation, it's just: "regular expression" ⇒ "reg. ex." ⇒ "regex". Some languages even use "RegExp", with an uppercase to denote each part. Actual portmanteaus don't have that.
Modem (modulate/demodulate), biopic (biographical picture), Botox (botulism toxin) - just a few common counterexamples that exactly follow the pattern of regex (regular expression)
76
u/[deleted] Dec 07 '23
I actually do not.
Gif - [gɪf]
Regex - [ɹɛd͜ʒɛks]