Closed mellster2012 closed 9 months ago
Actually that's a real mistake in their schema, the regexp does have a lone closing bracket at the end - closing.
Glad you figured it out. I see the FHIR schema is still a disaster zone. The pattern
keyword doesn't even apply to numbers, so all they've accomplished is shooting themselves in the foot. The should have used $comment
instead.
validate fails with: SyntaxError: Invalid regular expression: /^-?(0|[1-9][0-9]{0,17})(.[0-9]{1,17})?([eE][+-]?[0-9]{1,9}})?$/: Lone quantifier brackets at new RegExp ()