SAP PCRE PARSING ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_REGEX - Parsing with PCRE Regular Expression
The example demonstrates how to use a PCRE regular expression to parse a syntax.

ABAP_SOURCE_CODE
DEMO CL_DEMO_PCRE_PARSING

ABAP_DESCRIPTION
Advanced example for using PCRE syntax for regular expressions. Using subroutines defined with (?<(><<)>name> ...) and callouts with (?C'...'), an abstract syntax tree (AST) is generated from an input if it follows the example's syntax rules.