You really should learn regular expressions
Here’s another advice post. Luckily, many of you can test out of it, like a college Gen Ed requirement. Here’s the test:
- What does the following regular expression do?
^http[s]?://([a-z]+\.)?example\.com/$
(Answer below.)
The target audience for this post is people who have heard of regular expressions, but don’t use them. Or who have used them a little, but have the feeling they really should know them better.
You’re right. You should.