|
On 25/09/2013 11:00 PM, steve donovan wrote:
On Wed, Sep 25, 2013 at 4:21 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:p = "Local Socket: 2001:db8:4545:2:0:9ff:ac11:4519..750"Or using SIP:res = {} = sip.match('Local Socket: $S{addr}..$i{port}',p,res)true= res.port750= res.addr2001:db8:4545:2:0:9ff:ac11:4519
That's really cool. I would like to add a null specifier so I can make it less verbose.
sip.match('$n : $S{addr}..$i{port}',p,res)