intersystems / intersystems/iknow

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

Open
#321 0 comments 0 reactions 1 assignee Claimed by @JosDenysGitHub View on GitHub
bug
Dominant language
C++
Stars
54
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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‰"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.