A SO common question: Why does “\d*“ find a match in “abc“?

There is a certain type of regex questions at that people keep asking again and again. “SO“ (StackOverflow) common question series of regex quickies will be devoted to such issues. In this video, you will learn why ’\d*’ matches the ’abc’ string and why empty string matching patterns are better avoided. FURTHER LINKS: - * is not working as expected: - plus vs asterisk in regex:
Back to Top