You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That only allow uppercase. I don't know what to do cause this could make a big breaking to be pedantic, even if we introduce a is_hexdig_relaxed like in complete module.
The text was updated successfully, but these errors were encountered:
Hm... I think we should try to stick to the RFC as close as possible and deviate from it only for good reasons. So I would consider is_hexdig accepting lowercase alpha characters a mistake. I like the idea to allow this in a _relaxed version, though.
Argh, you are right. I knew that strings are case-insensitive in ABNF, but my brain ignored that rule for single-char strings like "A", "B", ... somehow. ABNF can be confusing.
abnf-core/src/lib.rs
Lines 42 to 44 in b1fcead
Currently
is_hexdig
allow for either uppercase or lowercase hex digit but abnf dictate:That only allow uppercase. I don't know what to do cause this could make a big breaking to be pedantic, even if we introduce a
is_hexdig_relaxed
like incomplete
module.The text was updated successfully, but these errors were encountered: