in reply to Re^2: Split tags and words nicely
in thread Split tags and words nicely
$a =~ s/(<\/?tag[^>]*>)([\w ]*)/push @b, ($1,$2)/eg;
Also it is probably a good idea to avoid $a and $b for variable names because of their special status with regard to sort.
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Split tags and words nicely
by logie17 (Friar) on Dec 31, 2006 at 02:18 UTC |