Z
Zhidian Du
I read a program that strip tags of html
while(<>){
s/<.*?>//gs
}
I am courious why it uses .*?, not .*
Another question, while(<>) read one line at a time or a couple lines of a time?
How do I know it?
Thanks.
Z. Du
while(<>){
s/<.*?>//gs
}
I am courious why it uses .*?, not .*
Another question, while(<>) read one line at a time or a couple lines of a time?
How do I know it?
Thanks.
Z. Du