Solving the Mystery of the Regular Expression Special Operator Star * Not Matching Anything (Matching the Null String)
When using regular expressions the * special operator is very useful. An expression followed by * matches a sequence of 0 or more matches of the expression. When the whole expression is followed by a * we get some intersting behaviour that people may not have expected. We will explore such behaviour in this post.…