Provide ULID#patterns
instead of ULID#pattern
and ULID#strict_pattern
#84
Labels
enhancement
New feature or request
I applied
ULID#pattern
andULID#strict_pattern
in #35.But
related Regexp
might be many patterns.Crockford's base32
possibility #78 and Should acceptO
,o
,I
,i
,L
,l
, and-
in the parser? #57So providing it as collection as a
Hash
might be better, I think 🤔Then considering cache strategy for them. Keeping
Hash
in all instance and compilesRegexp
in freezing sounds needless and heavy.... They simply returns newHash[Symbol, Regexp]
when called the methods looks reasonable.The text was updated successfully, but these errors were encountered: