Closed larshp closed 1 year ago
There was a test app, but it was deprecated https://github.com/github/linguist/issues/5844
Two /
after the a-z
need to be escaped but then it should work:
https://regex101.com/r/1b5b8w/1
(?i)(?<=(?:\s|~|-))(?<=(?:->|=>))([a-z_\/][a-z_0-9\/]*)(?=\s+(?:=|\+=|-=|\*=|\/=|&&=)\s+)
Here's what the change should look like:
<dict>
<key>match</key>
<string>(?i)(?<=(?:\s|~|-))(?<=(?:->|=>))([a-z_\/][a-z_0-9\/]*)(?=\s+(?:=|\+=|-=|\*=|\/=|&&=)\s+)</string>
<key>name</key>
<string>variable.other.abap</string>
</dict>
I tested it at https://novalightshow.netlify.app/.
close this PR and open a new?
sure but i'm not authorized here
https://github.com/pvl/abap.tmbundle/issues/79
split into two fixed width expressions
however, I dont remember how to test the grammar, hmm