Re: [PBML] Re: Can a substitute self-reference?
- From: "Amit Saxena" <learn.tech123@...>
> Sorry about that typo,!post top- not Do
> What I meant was :-
> Regarding the whitespace issue, always use \s+ or \s* and try to avoid the
> greedyness of "*" by replacing it with "*?"
> Amit Saxena
what good is
$str =~ s/^\s*?//;
Do not "try to avoid greedines"! Understand the difference and choose
the right (greedy vs. lazy) version accordingly.
===== Jenda@... === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery