Ansicht
Dokumentation

ABAPFIND_REPLACE_REGEX_OBS - FIND REPLACE REGEX OBS

ABAPFIND_REPLACE_REGEX_OBS - FIND REPLACE REGEX OBS

TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
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.






General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1787 Date: 20240329 Time: 132744     sap01-206 ( 38 ms )