AS ABAP Release 758, ©Copyright 2024 SAP SE. All rights reserved.
ABAP - Keyword Documentation → ABAP - ABAP Release News → News for ABAP Release 7.5x → News for ABAP Release 7.55 →
String Processing in ABAP Release 7.55
Support of Perl Compatible Regular Expressions
Besides the existing support of POSIX regular expressions, ABAP supports now also PCRE regular expressions that are processed by the PCRE2 Library implemented in the ABAP Kernel. PCRE regular expressions can be used in the same way as POSIX regular expressions. The distinction is made:
PCRE regular expressions are more powerful and have better performance than POSIX regular expressions. For more information, see
Regular Expressions.
Verbatim Replacements
The new addition VERBATIM
of the REPLACE statement causes
all characters of the replacement string to be taken literally. With that addition, special characters for regular expression replacement patterns have no special meaning.
New Catchable Exception CX_SY_STRING_SIZE_TOO_LARGE
See Exception CX_SY_STRING_SIZE_TOO_LARGE in Transformations.
Exception CX_SY_STRING_SIZE_TOO_LARGE in Transformations
The exception that occurs when an operation with a string exceeds its maximum size is now connected to the exception class CX_SY_STRING_SIZE_TOO_LARGE and can be handled. Previously, it always resulted in runtime error STRING_SIZE_TOO_LARGE.
This exception can also be handled for the statement CALL TRANSFORMATION if some conditions are met.
Formatting Option CURRENCY for Decimal Floating Point Numbers
The
can now also be applied to decimal floating point numbers.