original_docstring: Returns host ip and share name for a given CIFS share.
docstring: Returns host ip and share name for a given CIFS share.
docstring_tokens: Returns host ip and share name for a given CIFS share .
code: def _get_export_location(share):
          """Returns host ip and share name for a given CIFS share."""
          export_location = share['export_location'] or '\\\\\\'
          regex = r'^(?:\\\\|//)(?P<host_ip>.*)(?:\\|/)(?P<share_name>.*)$'
          match = re.match(regex, export_location)
          if match:
              return match.group('host_ip'), match.group('share_name')
          else:
              return '', ''
code_tokens: def _get_export_location ( share ) : export_location = share [ 'export_location' ] or '\\\\\\' regex = r'^(?:\\\\|//)(?P<host_ip>.*)(?:\\|/)(?P<share_name>.*)$' match = re . match ( regex , export_location ) if match : return match . group ( 'host_ip' ) , match . group ( 'share_name' ) else : return '' , ''
short_docstring: Returns host ip and share name for a given CIFS share.
short_docstring_tokens: Returns host ip and share name for a given CIFS share .
comment: """Returns host ip and share name for a given CIFS share."""