Hi,

# perl -le '$_="aXXXb"; print "one word is $1" while(/(X*)/g);'
one word is
one word is XXX
one word is
one word is


what are the three empty values in the output?
Thanks.

# perl -v

This is perl, v5.8.8 built for i486-linux-thread-multi

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to