test that fails when more than one parameter

created test that fails when more than ONE parameter of type foo:{foo}.

the following regex 
result = result.replaceAll("\\{(.*?):.*?\\}", "{$1}");
brakes a valid path like e.g.
/Daq/ds:{dsid}/intervalstart:{start}
into this :
/Daq/ds:{dsid}/intervalstart}