Skip to content

Number‰ is not picked up by NumberPlusUnit regular expression in metadata  #321

Description

@ISC-NLeclercq

Tested in French, but likely relevant for other languages: the regular expression for the detection of NumberPlusUnit in metadata.csv contains a list of special characters, such as % and ‰.

For NumberPlusUnit with %, value and unit are both assigned:
attr type="measurement" literal="2,3%." token="2,3%." value="2,3" unit="%"

For NumberPlusUnit with ‰, only value is assigned:
attr type="measurement" literal="2,3‰." token="2,3‰." value="2,3‰"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions