pub const fn control() -> ControlExpand description
Reference is_control.
Example
use neure::prelude::*;
use neu::*;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let control = control();
let control = control.repeat_times::<2>();
let mut ctx = CharsCtx::new("ef");
assert_eq!(ctx.try_mat(&control)?, Span::new(0, 4));
assert!(ctx.try_mat(&control).is_err());
Ok(())
}