docstr: Parse URL
  
  :param content: content to parse
  :type content: basestring
  :param resolve: If true, resolve substitutions
  :param resolve: if true, resolve substitutions
  :type resolve: boolean
  :param unresolved_value: assigned value value to unresolved substitution.
      If overriden with a default value, it will replace all unresolved value to the default value.
      If it is set to to pyhocon.STR_SUBSTITUTION then it will replace the value by
      its substitution expression (e.g., ${x})
  :type unresolved_value: boolean
  :return: Config object
  :type return: Config
docstr_tok: ["Parse","URL",":","param","content",":","content","to","parse",":","type","content",":","basestring",":","param","resolve",":","If","true",",","resolve","substitutions",":","param","resolve",":","if","true",",","resolve","substitutions",":","type","resolve",":","boolean",":","param","unresolved_value",":","assigned","value","value","to","unresolved","substitution",".","If","overriden","with","a","default","value",",","it","will","replace","all","unresolved","value","to","the","default","value",".","If","it","is","set","to","to","pyhocon.STR_SUBSTITUTION","then","it","will","replace","the","value","by","its","substitution","expression","(","e.g.",",","$","{","x","}",")",":","type","unresolved_value",":","boolean",":","return",":","Config","object",":","type","return",":","Config"]
code: def parse_string(
      cls,
      content,
      basedir=None,
      resolve=True,
      unresolved_value=DEFAULT_SUBSTITUTION,
  ):
      """Parse URL
  
      :param content: content to parse
      :type content: basestring
      :param resolve: If true, resolve substitutions
      :param resolve: if true, resolve substitutions
      :type resolve: boolean
      :param unresolved_value: assigned value value to unresolved substitution.
          If overriden with a default value, it will replace all unresolved value to the default value.
          If it is set to to pyhocon.STR_SUBSTITUTION then it will replace the value by
          its substitution expression (e.g., ${x})
      :type unresolved_value: boolean
      :return: Config object
      :type return: Config
      """
      return ConfigParser().parse(
          content, basedir, resolve, unresolved_value
      )
  
imports: import itertools
  import re
  import os
  import socket
  import contextlib
  import codecs
  from datetime import timedelta
  from pyparsing import Forward, Keyword, QuotedString, Word, Literal, Suppress, Regex, Optional, SkipTo, ZeroOrMore, Group, lineno, col, TokenConverter, replaceWith, alphanums, alphas8bit, ParseSyntaxException, StringEnd
  from pyparsing import ParserElement
  from .config_tree import ConfigTree, ConfigSubstitution, ConfigList, ConfigValues, ConfigUnquotedString, ConfigInclude, NoneValue, ConfigQuotedString
  from .exceptions import ConfigSubstitutionException, ConfigMissingException, ConfigException
  import logging
  import copy
label_desc: Use image node_id 3 for calling the ConfigFactory obj's underlying member method code with example usage: obj.parse_string(cls, content, basedir, resolve, unresolved_value) and returns: ConfigParser