Skip to content

.match for numbers ambiguity #45

@BANOnotIT

Description

@BANOnotIT

For numbers .match makes additional one/few/many/other/etc variants and that makes it hard to understand how the example below will be handled:

.local $count = {1 :number}
.match $count $count
1   one {{ uno }}
one one {{ ein }}
*   *   {{ rest }}

It's not obvious that 1 can be "1" and "one" at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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