Skip to content

UomSymbol regex pattern rejects good values #84

@FuhuXia

Description

@FuhuXia

Here, the UomSymbol validation regex pattern [^: \n\r\t]+ in theory is supposed to reject all chars of colon, space, newline, carriage return, and tab. But we found out it actually rejects all n, r, t chars. Values such as decimalDegrees and feet will fail the validation.

If we rewrite the pattern to an equivalent [^:\s]+, then all looks ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions