Elf M. Sternberg c66875e367 | ||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |
README.md
Rust beginning of line match with NOM
This is an experiment to demonstrate that it is possible to detect "the beginning of a line" using Nom in Rust, although it's a bit harder than it looks. Essentially we can only match "content that includes a beginning-of-line marker," which could be another beginning-of-line marker or any legal Nom parser.
It's just an experiment, meant to expand my knowledge. Not a big deal.