CLAS CL_ABAP_MATCHER

Source Link
Open in ADT

Home
Previous Object: CL_ABAP_ITAB_X_READER
Next Object: CL_ABAP_MATH

Public
Attribute regex TYPE cl_abap_regex
Attribute table TYPE STRING_TABLE
Attribute text TYPE STRING
Static Method contains_posix
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
  RAISING cx_sy_regex
Static Method contains
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
  RAISING cx_sy_regex
Static Method create_xsd
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    enable_jit TYPE ABAP_BOOL Optional
    enable_multiline TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
    relaxed_escapes TYPE ABAP_BOOL Optional
  RETURNING matcher TYPE cl_abap_matcher
  RAISING cx_sy_regex
  RAISING cx_sy_matcher
Static Method create_xpath2
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    enable_jit TYPE ABAP_BOOL Optional
    enable_multiline TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
    relaxed_escapes TYPE ABAP_BOOL Optional
  RETURNING matcher TYPE cl_abap_matcher
  RAISING cx_sy_regex
  RAISING cx_sy_matcher
Static Method create_pcre
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    enable_jit TYPE ABAP_BOOL Optional
    enable_multiline TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
    extended TYPE ABAP_BOOL Optional
  RETURNING matcher TYPE cl_abap_matcher
  RAISING cx_sy_regex
  RAISING cx_sy_matcher
Static Method create_posix
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING matcher TYPE cl_abap_matcher
  RAISING cx_sy_regex
  RAISING cx_sy_matcher
Static Method create
  IMPORTING
    pattern TYPE clike
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING matcher TYPE cl_abap_matcher
  RAISING cx_sy_regex
  RAISING cx_sy_matcher
Static Method get_object
  RETURNING matcher TYPE cl_abap_matcher
Static Method matches_posix
  IMPORTING
    pattern TYPE clike
    text TYPE clike
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_regex
Static Method matches
  IMPORTING
    pattern TYPE clike
    text TYPE clike
    ignore_case TYPE ABAP_BOOL Optional
    simple_regex TYPE ABAP_BOOL Optional
    no_submatches TYPE ABAP_BOOL Optional
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_regex
Method constructor
  IMPORTING
    regex TYPE cl_abap_regex
    text TYPE clike Optional
    table TYPE STANDARD TABLE OF any WITH DEFAULT KEY Optional
  RAISING cx_sy_matcher
Method find_all
  RETURNING matches TYPE MATCH_RESULT_TAB
  RAISING cx_sy_matcher
Method find_next
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
Method get_length
  IMPORTING
    index TYPE I Optional
  RETURNING length TYPE I
  RAISING cx_sy_matcher
Method get_line
  RETURNING line TYPE I
  RAISING cx_sy_matcher
Method get_match
  RETURNING match TYPE MATCH_RESULT
  RAISING cx_sy_matcher
Method get_offset
  IMPORTING
    index TYPE I Optional
  RETURNING offset TYPE I
  RAISING cx_sy_matcher
Method get_submatch
  IMPORTING
    index TYPE I
  RETURNING submatch TYPE STRING
  RAISING cx_sy_matcher
Method get_mark
  RETURNING mark TYPE STRING
  RAISING cx_sy_matcher
Method match
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
Method replace_all
  IMPORTING
    newtext TYPE clike
  RETURNING count TYPE INT4
  RAISING cx_sy_matcher
Method replace_found
  IMPORTING
    newtext TYPE clike
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
Method replace_next
  IMPORTING
    newtext TYPE clike
  RETURNING success TYPE ABAP_BOOL
  RAISING cx_sy_matcher
Method set_callout
  IMPORTING
    callout TYPE if_abap_matcher_callout
  RAISING cx_sy_matcher

Exists on:
754true
750true
702true

Bug reports and ideas welcome
Made using abaplint.app