SAP PCRE ABEXA
Get Example source ABAP code based on a different SAP table
Find a PCRE Regular Expression
The example demonstrates how to search for a regular expression in PCRE syntax.
ABAP_SOURCE_CODE
DEMO CL_DEMO_FIND_PCRE
ABAP_DESCRIPTION
In the example, a line of text and a regular expression can be entered. The class searches the text line
The predefined example text is:
and the predefined regular expression is:
The regular expression describes a word consisting of three characters, where the first is any single character and the other two are
The case-sensitive search for the first occurrence finds the word
Latest notes:
NON_V5_HINTS
The demonstration program
ABAP_HINT_END