Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^5: You won't believe what this regular expression does!by salva (Canon) |
on Feb 26, 2021 at 11:55 UTC ( [id://11128826]=note: print w/replies, xml ) | Need Help?? |
No, the intent is to ensure that the string ends in just one o, no less, no more than one.
In real life, those lines were paths, and I wanted all of then ending in a single slash. For instance:
In Section
Seekers of Perl Wisdom
|
|