(self, url_entry)
return ''
Finds http[s]:// in 'url_entry' and returns its content from there.

        Args:
            url_entry: a URL, with some other characters before and after

        Returns:
            String with the URL or empty string if not found
Finds http[s]:// in 'url_entry' and returns its content from there.
Finds http [ s ] : // in url_entry and returns its content from there .
def _sanitize_url(self, url_entry):
        """Finds http[s]:// in 'url_entry' and returns its content from there.

        Args:
            url_entry: a URL, with some other characters before and after

        Returns:
            String with the URL or empty string if not found
        """
        m = self._URL_BEGINNING_RE.search(url_entry)

        if m:
            return m.group(1)

        return ''
def _sanitize_url ( self , url_entry ) : m = self . _URL_BEGINNING_RE . search ( url_entry ) if m : return m . group ( 1 ) return ''