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
I don't quite understand what Range and Set are for. It would be good if they had documentation strings, or at least an example. I could help write documentation as a PR if I had an example to compare to or an explanation.
If "Range" is something used internally by the library and not intended to be messed with directly by users, the documentation strings should say that.
I would very much like to be able to match a range of values, like (('a' as u8)..=('z' as u8)). Is that what Range does?
The text was updated successfully, but these errors were encountered:
You've probably found an answer to this already; I'm not the OA but both Range and Set appear helper classes for one_of(aSet) or repeat(range). A recent PR I requested makes these pub(crate).
WRT the match of range of values - this is (almost) possible with one_of(&(b'A'..b'Z')). Note: that example is not an inclusive range however a recent PR I requested enables inclusive ranges one_of(&(b'A'..=b'Z'))
I don't quite understand what Range and Set are for. It would be good if they had documentation strings, or at least an example. I could help write documentation as a PR if I had an example to compare to or an explanation.
If "Range" is something used internally by the library and not intended to be messed with directly by users, the documentation strings should say that.
I would very much like to be able to match a range of values, like (('a' as u8)..=('z' as u8)). Is that what Range does?
The text was updated successfully, but these errors were encountered: