Regular language
I noticed yesterday after writing a comment in some code that one of my writing habits had changed, without me really noticing. So I thought I'd see what other people's opinions were.
Poll #17528 A regular holy war
Open to: Registered Users, detailed results viewable to: All, participants: 38
How do you write 'regular expression' in abbreviated form?
View Answers
regexp
11 (30.6%)
regex
24 (66.7%)
Something else
0 (0.0%)
I only ever write it unabbreviated
0 (0.0%)
I don't ever write it at all
1 (2.8%)
How do you pronounce the g in regexp / regex ?
View Answers
Hard, like in 'regular' (IPA /ɡ/)
23 (60.5%)
Soft, like in 'Reginald' (IPA /dʒ/)
13 (34.2%)
Something else
1 (2.6%)
I never pronounce these abbreviations
1 (2.6%)
no subject
Now I'm on the other side, I find myself wondering what the point of the p was in the first place – 'regex' is adequately unambiguous and takes fewer characters, so what's not to like? But I can't remember why I adopted the p spelling myself. I'd be quite interested to know whether there are any centralised sources (particular textbooks, library APIs, influential articles or some such) that might be responsible for popularising one or the other.
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
I think I've been known to use "rexp" as a variable name (partly to avoid a clash with "re" - longer names tend to be "fooBarRe" or "foobarre" depending on language), and I don't think I've been known to use "rex".
no subject
(no subject)
(no subject)
no subject
no subject
IPA not so standard?
Oh and I pronounce it as "are you certain using this is not a mistake?" as when I need to discuss them people are often ... misguided ;).
The sound samples at https://nl.wikipedia.org/wiki/Stemhebbende_postalveolaire_affricaat and https://nl.wikipedia.org/wiki/Stemhebbende_velaire_plosief were helpful, but strangely enough the samples at https://en.wikipedia.org/wiki/Voiced_palato-alveolar_affricate and https://en.wikipedia.org/wiki/Voiced_velar_stop were confusing.
I thought that IPA should be a sort of standard, so how come I needed to use the Dutch version? Interesting but confusing...
(no subject)
(no subject)
no subject
no subject
no subject