Hi!
This is a negative, zero-width, look-behind assertion (?<! \n ) It
means that the variable does not match what it contains, in this case a
newline, before the match but do not include what it matches in the match.
Huh? Until i read this, i actually though i understood regular expressions.
That one actually may solve one of my problems, too. Thanks!.. i think...
I'm going to have to meditate over that one.
LG
Rene
--
#!/usr/bin/perl #99BoB (C)2004 cavac:prg count drink vessel place act1 act2
@a...@argv;$c=$a[0]||99;$b=" ".($a[2]||"bottles")." of ".($a[1]||"beer");$w=" ".
($a[3]||"on the wall").",";do{print"$c$b$w\n$c$b,\n".($a[4]||"take one down").
", ".($a[5]||"pass it around").",\n".--$c."$b$w\n\n";}while($c);print"END!\n";
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/