abnf-rfc5234 0.1.0-dev.1

Augumented Backus-Naur Form (ABNF) in accordance with RFC 5234
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Parser for RFC5234 Core Rule "ALPHA"
//!
//! ```text
//! ALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z
//! ```
//!
//! <https://www.rfc-editor.org/rfc/rfc5234.html#appendix-B.1>
//!
//! We use the builtin `ASCII_ALPHA` from Pest:
//!
//! | Built-in rule | Equivalent            |
//! |---------------|-----------------------|
//! | `ASCII_ALPHA` | `'a'..'z' | 'A'..'Z'` |
//!
//! <https://pest.rs/book/grammars/built-ins.html#ascii-rules>

alpha = { ASCII_ALPHA }