Originally raised in github-linguist/linguist#6352 (comment).
Describe the bug
The syntax highlighter supports the a abbreviation in Turtle; this works well in examples like
However, it also matches against cases it shouldn't, for instance when the letter a is the suffix of a prefixed URI such as in the example below
Expected behaviour
The a in ex:a should not be highlighted in the second example above.
Related discussion
Additional notes
Originally raised in github-linguist/linguist#6352 (comment).
Describe the bug
The syntax highlighter supports the
aabbreviation in Turtle; this works well in examples likeex:jesse a ex:thingHowever, it also matches against cases it shouldn't, for instance when the letter
ais the suffix of a prefixed URI such as in the example belowex:a ex:b ex:cExpected behaviour
The
ainex:ashould not be highlighted in the second example above.Related discussion
Additional notes