SAP NEWS-782-STRINGS



Get Example source ABAP code based on a different SAP table
  



String Processing in ABAP Release 7.82
ITOC

ABAP_MODIFICATION_NN XPath and XSD Regular Expressions

Besides the existing support of PCRE regular expressions and POSIX regular expressions (obsolete) ABAP supports now also XPath regular expressions and XSD regular expressions. Internally, those are transformed to PCRE regular expressions and processed by the PCRE2 Library.
Both kinds of regular expressions can be used by the new (factory) methods CREATE_XPATH2 and CREATE_XSD of the system classes CL_ABAP_REGEX and CL_ABAP_MATCHER.
XPath regular expressions can be used by the new argument xpath in some built-in functions.

ABAP_MODIFICATION_NN Callouts in PCRE Regular Expressions

The class CL_ABAP_MATCHER supports callouts in PCRE syntax now. The method SET_CALLOUT can be used to register a handler class that implements the interface IF_ABAP_MATCHER_CALLOUT. The special characters (?C...) of a PCRE regular expression then call the interface method CALLOUT when the method MATCH is executed.