anchor.diff:          !iv_class      TYPE string
         RETURNING
           VALUE(rv_line) TYPE string .
  +    METHODS is_whitespace
  +      IMPORTING
  +        !iv_string       TYPE string
  +      RETURNING
  +        VALUE(rv_result) TYPE abap_bool .
     PRIVATE SECTION.
   ENDCLASS.
   
  
positive.code: 
      DATA: lt_matches TYPE ty_match_tt.
  
      IF strlen( iv_line ) = 0.
        RETURN.
      ENDIF.
  
  
negative.code: 
        rv_line = rv_line && lv_chunk.
      ENDLOOP.
  
    ENDMETHOD.
  
  
    METHOD is_whitespace.
  
      DATA: lv_whitespace TYPE string.
  
      "/^\s+$/
      lv_whitespace = ` ` && cl_abap_char_utilities=>horizontal_tab && cl_abap_char_utilities=>cr_lf.
  
      IF iv_string CO lv_whitespace.
        rv_result = abap_true.
      ELSE.
        rv_result = abap_false.
      ENDIF.
  
    ENDMETHOD.
  
  