[sr-dev] re.subst stopped working

Juha Heinanen jh at tutpro.com
Thu Aug 18 14:47:53 CEST 2011


there was recently a commit related to re.subst.  looks like it broke
one of my re.substs that used to work before:

$(rb{re.subst,/[\n\r\t]//g})

Aug 18 15:43:54 sip /usr/sbin/sip-proxy[14727]: ERROR: <core> [re.c:235]: ERROR: subst_parser: expression is too short: /[
Aug 18 15:43:54 sip /usr/sbin/sip-proxy[14727]: ERROR: textops [txt_var.c:230]: invalid transformation [subst,/[#012#015#011]//g}] <8>
Aug 18 15:43:54 sip /usr/sbin/sip-proxy[14727]: ERROR: <core> [pvapi.c:1303]: error parsing [{re.subst,/[#012#015#011]//g}]
Aug 18 15:43:54 sip /usr/sbin/sip-proxy[14727]: ERROR: <core> [pvapi.c:698]: bad tr in pvar name "rb"
Aug 18 15:43:54 sip /usr/sbin/sip-proxy[14727]: ERROR: <core> [pvapi.c:724]: invalid parsing in [$(rb{re.subst,/[#012#015#011]//g})>#012] at (4)

my testing is pretty much stuck before this is fixed.

-- juha



More information about the sr-dev mailing list