anchor.diff:  
     ENDMETHOD.
   
  -
     METHOD path_name.
  -
   
       DATA: lv_host TYPE string ##NEEDED.
   
       FIND REGEX '(.*://[^/]*)(.*)' IN iv_repo
         SUBMATCHES lv_host rv_path_name.
   
  -
     ENDMETHOD.
   
  -
     METHOD regex.
  -
   
       FIND REGEX '(.*://[^/]*)(.*/)([^\.]*)[\.git]?' IN iv_repo
         SUBMATCHES ev_host ev_path ev_name.
  
positive.code: 
  ENDCLASS.
  
  
  
  
  CLASS zcl_abapgit_url IMPLEMENTATION.
  
  
    METHOD host.
  
  
negative.code:       zcx_abapgit_exception=>raise( 'Malformed URL' ).
      ENDIF.
  
    ENDMETHOD.
  
  ENDCLASS.
  