nom v1.2.3 Release Notes
Release Date: 2016-05-10 // almost 8 years ago-
Thanks
- @lu-zero for the contribution guidelines
- ๐ @GuillaumeGomez for fixes on
length_bytes
and some documentation - ๐ @Hywan for documentation and test fixes
- @Xirdus for correct trait import issues
- @mspiegel for the new AST example
- @cholcombe973 for adding the
cond_with_error!
combinator - ๐จ @tstorch for refactoring
many0!
- @panicbit for the folding combinators
- ๐ @evestera for
separated_list!
fixes - @DanielKeep for correcting some enum imports
โ Added
- Regular expression combinators starting with
re_bytes_
work on byte slices - ๐ example parsing arithmetic expressions to an AST
cond_with_error!
works likecond!
but will returnNone
if the condition is false, andSome(value)
if the underlying parser succeededfold_many0!
,fold_many1!
andfold_many_m_n!
will take a parser, an initial value and a combining function, and fold over the successful applications of the parser
๐ Fixed
- ๐
length_bytes!
converts the result of its child parser to usize take_till!
now importsInputLength
instead of assuming it's in scopeseparated_list!
andseparated_nonempty_list!
will not consume the separator if there's no following successfully parsed value- ๐ no more warnings on build
๐ Changed
- simpler implementation of
many0!