Function neure::neu::any

source ·
pub const fn any<T: MayDebug>() -> True<T>
Expand description

Always return true.

Example

  let any = neu::any();
  let mut ctx = CharsCtx::new("abc%$#&");

  assert_eq!(ctx.try_mat(&any.repeat_times::<6>()).unwrap(), Span::new(0, 6));