1 2 3 4 5 6 7 8 9 10 11 12 13
use unconst::unconst; use crate::repr::Repr; #[unconst] /// `\d` pub const DIGIT: Repr<char> = Repr::from('0'..'9'); #[unconst] // /// `\s` // pub const SPACE: Repr<char> = Repr::; #[unconst] /// `\w` pub const WORD: Repr<char> = Repr::from('A'..'Z') | ('a'..'z');