if ( /^(.*?)()(.*?)$/ .. /^(.*?)(<\/sm:.+?>)/ ) {
print "$_";
}
$i++;
}
wich returns these lines:
BBB
<- the first watched line is present
CCC1
CCC2
<- the last two are missing from
As you can see, I put wich means more s.
I prefer this form // .. // of regexp.
How should I change it to match all lines which contain 'sm:',
no matter of following characters ?
Graf Laszlo
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hi
I have the following HTML structure:
BBB
CCC
Every line in this structure is an element of an array,
named @lines, and I access the elements using a foreach loop.
When I know the tag's name, by example 'sm:a',
and I need to ex