You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REPORT z_ram_test_csv_to_itab_regex.
* this is a comment by ramtiwari.* select '100' from something or just multiply to check that * does not comment
a =1*10.
DATA : g_input TYPE string.
DATA : l_tab TYPE cvalue cl_abap_char_utilities=>HORIZONTAL_TAB.
DATA : l_regex type string.
g_input ='"F1",F2,""Hello", "How" are "you"","F3"'.
REPLACEALLOCCURRENCES OFREGEX',(?=(?:[^"]*$)|(?:[^"]*"[^"]*"[^"]*)*$)'IN g_input WITH l_tab.
REPLACEFIRSTOCCURRENCE OFREGEX'^"'IN g_input WITH' '.
CONCATENATE'"' l_tab '"|"' l_tab '|' l_tab '"'into l_regex.
REPLACEALLOCCURRENCES OFREGEX l_regex " '"l_tab"|"l_tab|l_tab"'IN g_input WITH l_tab.
REPLACEALLOCCURRENCES OF'""'IN g_input
WITH'"'. "Added during testingREPLACEALLOCCURRENCES OFREGEX'"$'IN g_input
WITH' '.
WRITE :/ g_input.
Add-on Version
1.0.0
Vaadin Version
24.7.0
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hello. I see that the enum is missing ABAP and ABNF, which is unintentional. A complete fix will require not only updating the enum, but also resolving the underlying issue discussed in #6.
Thanks for getting back to me. I see that there is a need to enhance refractor.
Meanwhile I managed to include prismjs directly into my Vaadin project, so I do not need this change any longer - but for completeness of your project I would keep this issue open
Describe the bug
As you see in https://github.com/react-syntax-highlighter/react-syntax-highlighter/blob/master/AVAILABLE_LANGUAGES_PRISM.MD the underlying library supports ABAP (https://prismjs.com/#supported-languages), you did not include it into your enum for PRISM.
Could you please add this in the next version?
Expected behavior
Highlight ABAP code
Minimal reproducible example
You can use this code example for testing
Add-on Version
1.0.0
Vaadin Version
24.7.0
Additional information
No response
The text was updated successfully, but these errors were encountered: