Skip to content

Conversation

@samumbach
Copy link

Original regular expressions in valip.predicates not quite consistent with the Clojure reader (or each other) in handling numbers ending with N, M, or ..

  • Added tests to exercise these cases.
  • Updated regular expressions.
  • Extracted this regexp to a var so decimal-string? and parse-number will continue to have the same semantics even if this regexp is changed in the future.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant