From aef3913b660343654d7a9d9222eea7f48b531b37 Mon Sep 17 00:00:00 2001 From: Albert Mink Date: Mon, 11 Sep 2023 14:15:49 +0200 Subject: [PATCH] fix: regex --- src/zcl_aff_writer_json_schema.clas.abap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zcl_aff_writer_json_schema.clas.abap b/src/zcl_aff_writer_json_schema.clas.abap index 0f8186f1..a01ec3eb 100644 --- a/src/zcl_aff_writer_json_schema.clas.abap +++ b/src/zcl_aff_writer_json_schema.clas.abap @@ -851,7 +851,7 @@ CLASS zcl_aff_writer_json_schema IMPLEMENTATION. LOOP AT ddic_fixed_values ASSIGNING FIELD-SYMBOL(). DATA text TYPE string. text = -ddtext. - REPLACE ALL OCCURRENCES OF REGEX '\s' IN text WITH '_' ##REGEX_POSIX. + REPLACE ALL OCCURRENCES OF PCRE '\s' IN text WITH '_'. INSERT VALUE #( value = format_to_camel_case( text ) ) INTO TABLE result-values. ENDLOOP. ENDIF.