ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.5x →  News for ABAP Release 7.56 → 
Mail Feedback

String Processing in ABAP Release 7.56


1. XPath and XSD Regular Expressions

2. Callouts in PCRE Regular Expressions



Modification 1  

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.





Modification 2  

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.