From: mayamatakeshi <may...@gm...> - 2011-12-17 02:03:01
|
On Sat, Dec 17, 2011 at 4:04 AM, Rajpal Dangi <raj...@tr...>wrote: > Takeshi.**** > > Your suggestion made complete sense to me but didn’t work as expected > i.e. test="102" next="3" never succeed. **** > > <action>**** > > <ereg regexp="xml"**** > > search_in="msg"**** > > assign_to="101"/>**** > > <todouble assign_to="102" variable="101"/>**** > > <log message=" Received text: = [$101]"/>**** > > <log message=" Flag: = [$102]"/>**** > > </action>**** > > ** ** > > Logs in output file:**** > > Received text: =xml**** > > Flag: =**** > > ** ** > > Any idea, what’s going wrong? > Well, if you asked todouble to convert the "xml" to a number, i think since it could not do it the variable $102 was left empty. Have you tried with an actually numeric string? |