Ansicht
Dokumentation

ABAPFIND_REPLACE_REGEX_OBS - FIND REPLACE REGEX OBS

ABAPFIND_REPLACE_REGEX_OBS - FIND REPLACE REGEX OBS

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

FIND, REPLACE REGEX posix (obsolete)

FIND$|REPLACE REGEX posix ... .

Effect

In this variant for specifying a pattern in the statements FIND and REPLACE, a character string posix is specified behind REGEX instead of a reference variable regex_ref.

posix is a character-like expression position that can contain a valid POSIX regular expression.

The occurrences are determined according to the "leftmost-longest" rule. Of all possible matches between the regular expression and the character string to be searched, the substring that starts at the furthest position to the left is selected. If there are multiple matches at this position, the longest of these substrings is selected.

Note

Example

The search uses obsolete POSIX regular expression syntax and finds the substring 'ababb' from offset 3. The substring 'babboo' from offset 4, which also matches, is not found because of the leftmost-longest rule of POSIX regular expressions.






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1787 Date: 20240616 Time: 110105     sap01-206 ( 40 ms )