in reply to Writing regexes, think ahead just a bit.
As ikegami already pointed out, yes, anchors and boundary conditions are often the most important aspect to regex's. Second to understanding greediness, I suppose.
Can't think of any unintentional funny parsings on my end. However, as a personal pet peeve, I always try to use File::Basename when pulling off file extensions and such. Don't always, but feel it's a good way to self document code.
- Miller
|
|---|