3 ms·
Amen to that. For reasons I can only guess at, I'm the "regex guy" at work. When people have a regex question they come to me. And the interesting thing is t
by michaelcampbell 14y ago
Amen to that. For reasons I can only guess at, I'm the "regex guy" at work. When people have a regex question they come to me. And the interesting thing is that the answers are not hard, well within the 20% area. I've found that most people don't care to learn how to use character classes, or even what they're for. For example, to match the single letter 'i', I've seen people write:
[i]
Many don't know the difference nor implications of .* ? vs .*
And on and on. It amazes me that these people actually code for a living.
- itmag 14y agoLearning about the nongreedy modifier is IMHO a must when it comes to regexps. It makes them much more convenient to write.