while(/<tc>/)
If you write the regexp as
you can distinguish: If $1 afterwards is undef, you had only a <tc>. If $1 is defined, it contains what comes after the <tc./<tc ( [^>]+)? >/x
In reply to Re: how to loop through?
by rovf
in thread how to loop through?
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |