Re:NumPy 1.24.0 has been released
by theLiminator on Monday December 19, 2022 @12:39AM
(#34048900)
Wish people would pronounce regex with the same logic
Don't they? I always used that rule and pronounced it as in REGular EXpression. Do people say it differently? Like a soft g and long e like in "regent"?
It is easier to make the "j" said for "rejex". The "g" sound is more effortful (it is "made" more in the back of the mouth, compared to "j"). Laziness wins the day again on pronunciation xD
I would pronounce it “regular expression.” I can see shortening it in text, it is a lot of letters, but reg-eks seems only marginally shorter than “regular expression” and the latter has normal, easy flowing words without weird stop in the middle. “Reglr spression” “Regula espressen.”
Re:NumPy 1.24.0 has been released
by laserlight on Monday December 19, 2022 @12:50AM
(#34048945)
Yeah, where did rejex even come from? Perhaps, people don’t know that it’s regular expression?
Re:NumPy 1.24.0 has been released
by comedowntous on Monday December 19, 2022 @03:57AM
(#34049972)
Interesting. Both python and pyramid most likely come from Latin though, and in both Latin and French the "py" python is pronounced the same as the "py" in pyramid. So there must be more to it.
When you have a consonant and a Y, it's generally quite common for that Y to make an "ai" sound. Like bylaw, dynamo, kyle, lying, rye, xylophone. So I'd say that Python's pronunciation is unexceptional.
In the case of pyramid, it comes from French pyramide so it follows the pronunciation of French. It's worth noting that both pyramid and pygmy have alternate/misspellings that use "pi" which shows that their spelling as "py" is not very natural to native speakers.