summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-11-01 17:20:41 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-11-01 17:20:54 +0000
commitda2980e5c9e7da3839eb71e450f206b1121d326e (patch)
tree0bd5ceec0c708aa4ff80cf46a505131ec151c852 /src
parent2c96e1c6de13821558b5aa40212a0eb7b1b6856f (diff)
downloadmon-da2980e5c9e7da3839eb71e450f206b1121d326e.tar.gz
feature gate regex parser
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7221769..d963e36 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1053,6 +1053,7 @@ where
r#if(|_| true)
}
+#[cfg(feature = "regex")]
pub mod str {
use super::*;
@@ -1099,6 +1100,7 @@ mod test {
}
#[test]
+ #[cfg(feature = "regex")]
fn test_regex_parser() {
let it = InputIter::new("abc 123");