anchor.diff:          ls_match-token  = <regex>-token.
           ls_match-offset = <result>-offset.
           ls_match-length = <result>-length.
  -        APPEND ls_match TO rt_matches.
  +        APPEND ls_match TO et_matches.
         ENDLOOP.
       ENDLOOP.
   
  
positive.code: *----------------------------------------------------------------------*
  *       CLASS lcl_syntax_abap DEFINITION
  *----------------------------------------------------------------------*
  *
  *----------------------------------------------------------------------*
  CLASS lcl_syntax_abap DEFINITION INHERITING FROM lcl_syntax_highlighter FINAL.
  
    PUBLIC SECTION.
  
     CLASS-METHODS class_constructor.
     METHODS constructor.
  
      CONSTANTS:
        BEGIN OF c_css,
          keyword  TYPE string VALUE 'keyword',                "#EC NOTEXT
          text     TYPE string VALUE 'text',                   "#EC NOTEXT
          comment  TYPE string VALUE 'comment',                "#EC NOTEXT
        END OF c_css.
  
      CONSTANTS:
        BEGIN OF c_token,
          keyword  TYPE c VALUE 'K',                           "#EC NOTEXT
          text     TYPE c VALUE 'T',                           "#EC NOTEXT
          comment  TYPE c VALUE 'C',                           "#EC NOTEXT
        END OF c_token.
  
    PROTECTED SECTION.
  
      CLASS-DATA:
        c_keyword_regex TYPE REF TO cl_abap_regex, " Temporary
        BEGIN OF c_regex,
          comment  TYPE string,
          text     TYPE string,
          keyword  TYPE string,
        END OF c_regex.
  
      CLASS-METHODS get_keywords
        RETURNING VALUE(rv_string) TYPE string.
  
      METHODS order_matches REDEFINITION.
  
  ENDCLASS.                       " lcl_syntax_abap DEFINITION
  
  *----------------------------------------------------------------------*
  *       CLASS lcl_syntax_xml DEFINITION
  *----------------------------------------------------------------------*
  *
  *----------------------------------------------------------------------*
  CLASS lcl_syntax_xml DEFINITION INHERITING FROM lcl_syntax_highlighter FINAL.
  
  
negative.code:       <result> TYPE match_result,
        <match>  TYPE ty_match.
  
      CLEAR et_matches.
  
      " Process syntax-dependent regex table and find all matches
      LOOP AT mt_rules ASSIGNING <regex>.
        lo_regex   = <regex>-regex.
  