HL7/fhirpath.js

Possible bug with regular expression

kyriosdata opened this issue · 1 comments

When evaluating the function matches('[A-Z]([A-Za-z0-9_]){0,254}')" on sequences like 'aA', the response is true. It should not be true, right?

matches() does a partial match, so it should be true. See https://jira.hl7.org/browse/FHIR-36257, which will make that clear in the specification.