I'm using rex to return a string, and then I want to BOLD this string,then I'm trying to use "sandr" function to look for the original string and replace with the new one, but sandr is not working at all...
<!--here is my rex (to return the first line of string):-->
<rex "[^\x0a]+" $bodypart>
<$origLine=$ret>
<$newLine="new">
<sandr $origLine $newLine $bodypart>
$ret here should include the $bodypart with the replaced portion but it sometimes returns only $newLine
and other times return nothing (it's inside a loop)
I thought that rex and sandr use the same behaviour of regular expressions...
any clews??
<!--here is my rex (to return the first line of string):-->
<rex "[^\x0a]+" $bodypart>
<$origLine=$ret>
<$newLine="new">
<sandr $origLine $newLine $bodypart>
$ret here should include the $bodypart with the replaced portion but it sometimes returns only $newLine
and other times return nothing (it's inside a loop)
I thought that rex and sandr use the same behaviour of regular expressions...
any clews??