Just as an FYI for later, Postman has an option to configure the variable
delimiters. So instead of curly braces we can have normal brackets. Check
out the Postman setting. Its an obscure option which even I haven't used
but just adding this here in case we have a bug in the future.
On 03/04/2014 4:06 pm, "Prakhar Srivastav" <notifications@github.com> wrote:

> In src/utilities/VariableProcessor.js:
>
> > +	// regex. Supports recursive replacement
> > +	// usage: _findReplace("{{url}}/blog/posts/{{id}}", {url: "http://localhost", id: 2}, this.ENV_REGEX)
> > +	// Note: The regex provided should capture the key to be replaced (use parenthesis)
> > +	_findReplace: function(stringSource, sourceObject, REGEX) {
> > +		function getKey(match, key){
> > +			return sourceObject[key];
> > +		}
> > +		stringSource = stringSource.replace(REGEX, getKey);
> > +
> > +		if (stringSource.match(REGEX)){
> > +			return this._findReplace(stringSource, sourceObject, REGEX);
> > +		} else {
> > +			return stringSource;
> > +		}
> > +	},
> > +
>
> New _findReplace added as per the jsbin! All test passing also. Confirm if
> its ready to merge.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/a85/Newman/pull/14/files#r11246058>
> .
>