diff options
| -rw-r--r-- | src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1078,6 +1078,13 @@ where r#if(|_| true) } +pub fn any1<I>() -> impl Parser<I, Output = I> +where + I: Input, +{ + r#if(|_| true).repeated().at_least(1).recognize() +} + #[cfg(feature = "regex")] pub mod str { |
