pub fn null<R>() -> NullRegex<R>
Match nothing, simple return R::from(_, (0, 0)).
R::from(_, (0, 0))
let null = re::null(); let mut ctx = CharsCtx::new("aabbccgg"); assert_eq!(ctx.try_mat(&null)?, Span::new(0, 0)); Ok(())