You could just pass it through a global...
<%replace_next($next_span)%>
my $in = $_[0];
$in =~ s|next(\d)|newpage$1|sg;
return $in;
}
My regex isn't the best when it comes to pattern matching, but it should work :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
<%replace_next($next_span)%>
Code:
sub { my $in = $_[0];
$in =~ s|next(\d)|newpage$1|sg;
return $in;
}
My regex isn't the best when it comes to pattern matching, but it should work :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!