Skip to content

Commit

Permalink
fix: regex
Browse files Browse the repository at this point in the history
  • Loading branch information
albertmink committed Sep 11, 2023
1 parent 1fbfce0 commit aef3913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zcl_aff_writer_json_schema.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ CLASS zcl_aff_writer_json_schema IMPLEMENTATION.
LOOP AT ddic_fixed_values ASSIGNING FIELD-SYMBOL(<value>).
DATA text TYPE string.
text = <value>-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.
Expand Down

0 comments on commit aef3913

Please sign in to comment.