Skip to content

Double-Dollar assertion is overly aggressive #10285

@exterkamp

Description

@exterkamp

The double dollar assertion:

// '$$' i.e. "Double Dollar" is always invalid in ctc.

Is a bit aggressive, it should check for basic $$ but allow $ICU_0$$ICU_1$. This should be validated with regex like \$([^$]*?)\$ and asserting that each capture group isn't empty instead of a more basic \$\$.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions