I once had a junior dev who thought that Regular Expressions and Regex were different concepts as they look so different. In that sense, a more systematic RegExp can be argued to be a more beneficial in some cases.
And yes, RegExp is usually pronounced Regular Expression, in similar fashion as const is constant. The point is to convey meaning.
View all comments
Show parent comment
3
u/HappyVlane Mar 20 '24
Have you ever heard anyone say "Regexp" in real life? It's either "Regex" or "Regular expression".