97jaz / gregor

Date and time library for Racket
45 stars 10 forks source link

Adds max length constraints for many parsing patterns #37

Closed 97jaz closed 4 years ago

97jaz commented 4 years ago

For example, when parsing a numeric month value, we shouldn't consume more than two characters. Not all numeric fields can be constrained like this, since some of them are specified to allow a 1...n characters.

Fixes #35