code: function(scalar, i)
  	{
  		var matches = null;
  		//var item = /^(.*?)['"]\s*(?:[,:]|[}\]]\s*,)/.exec((scalar+'').substring(i))[1];
  		
  		if ( !(matches = new RegExp('^'+YamlInline.REGEX_QUOTED_STRING).exec((scalar+'').substring(i))) )
  		{
  			throw new YamlParseException('Malformed inline YAML string ('+(scalar+'').substring(i)+').');
  		}
  
  		var output = matches[0].substr(1, matches[0].length - 2);
  		
  		var unescaper = new YamlUnescaper();
  
  		if ( '"' == (scalar+'').charAt(i) )
  		{
  			output = unescaper.unescapeDoubleQuotedString(output);
  		}
  		else
  		{
  			output = unescaper.unescapeSingleQuotedString(output);
  		}
  
  		i += matches[0].length;
  
  		this.i = i;
  		return output;
  	}
docs: Parses a quoted scalar to YAML.
  
  @param string	scalar
  @param integer i
  
  @return string A YAML string
  
  @throws YamlParseException When malformed inline YAML string is parsed