Because, really, why use regexes when you don't need to? Especially in JS, where every bit of efficiency counts in producing a seamless user experience for your visitors . . . I like!
I've got good news, and I've got bad news: The universe is merely a figment of my imagination. Now are you ready for the bad news?
I've got good news, and I've got bad news:
The universe is merely a figment of my imagination.
Now are you ready for the bad news?