An Experiment in Matching the Beginning of a Line in Rust Nom
Go to file
Elf M. Sternberg c66875e367 Committing and storing the work. 2024-11-10 13:02:44 -08:00
src Committing and storing the work. 2024-11-10 13:02:44 -08:00
.gitignore Committing and storing the work. 2024-11-10 13:02:44 -08:00
Cargo.lock Committing and storing the work. 2024-11-10 13:02:44 -08:00
Cargo.toml Committing and storing the work. 2024-11-10 13:02:44 -08:00
LICENSE.md Committing and storing the work. 2024-11-10 13:02:44 -08:00
README.md Committing and storing the work. 2024-11-10 13:02:44 -08:00

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.

LICENSE

MIT License