Sam's Blog entries for 28 April 2010
Did you mean +, not *, in that regexp?
Date: Wednesday, 28 April 2010, 13:36.
Categories: perl, ironman, regexp, craft, basic, tutorial.
Continuing from my previous article
"Anchoring Regexps",
another common regexp mistake I see is use of *
where the
author really meant +
.
So today I cover +
and *
: what's the difference and
why does it matter?