Suggestion: Could regex be incorporated in the matcher?
One immediate use case in ABAP is an end of line comment " is OK and " in strings need to be kept, but a line starting with " or * should be skipped.
* Now we will loop through the table
loop at sometable reference into data(row).
if row->somefield = 'foo'.
"Exclude these
continue.
endif.
write / |Row { sy-tabix } contains "{ row->anotherfield }"|.
endloop. "end-of line comments can be deleted or not...
Should go to
loop at sometable reference into data(row).
if row->somefield = 'foo'.
continue.
endif.
write / |Row { sy-tabix } contains "{ row->anotherfield }"|.
endloop. "end-of line comments can be deleted or not...
Easy to do with regex, but I can't see a way according to the current documentation.
Suggestion: Could regex be incorporated in the matcher?
One immediate use case in ABAP is an end of line comment
"is OK and"in strings need to be kept, but a line starting with"or*should be skipped.Should go to
Easy to do with regex, but I can't see a way according to the current documentation.