[sr-dev] [tracker] Task opened: bug in s.replace?

sip-router bugtracker at sip-router.org
Tue May 1 12:05:37 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Jasmin Schnatterbeck (jasmin) 

Attached to Project - sip-router
Summary - bug in s.replace?
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - using the following string in the pv $var(tmp):

test\" test

I have a problem with s.replace:

$var(tmp)=$(var(tmp){s.replace,\,\\});
$var(tmp)=$(var(tmp){s.replace,",\"});

Produces:
test\\\" test

BUT:

$var(tmp)=$(var(tmp){s.replace,\,\\}{s.replace,",\"});

Produces:
test\\\"\"\\"\\

=> First result is as expected, but the second is not... ?

Jasmin


More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=227

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list