Skip to content

grammar scope: Embedded (inline) code #4

@wion

Description

@wion

There is a problem with the existing grammar scope for inline code (i.e. @code@). For the most part it works, but it you happen to use something like follows:

". . . some para text, with a @1@, and some more text, and then a @3@, and some more text . . ."

The regular expression reads the two instances of code as a single instance wrapped by the outer most ampersands...

". . . some para text, with a @1@, and some more text, and then a @3@, and some more text . . ."

This only happens if the single characters are integers, like if indicating attribute values, or whatever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Expert help wantedNeed developer help or inspection on this.mostly worksThis mostly works as expected, but something could be amiss.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions