changeset 97:8e2037dcebe3

Remove unused test function
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 10 Dec 2020 09:06:22 +0100
parents 47dc9dd7194b
children f2404211c184
files src/matching.rs
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/matching.rs	Thu Dec 10 09:03:44 2020 +0100
+++ b/src/matching.rs	Thu Dec 10 09:06:22 2020 +0100
@@ -242,21 +242,6 @@
         parse::parse("aa+$").unwrap()
     }
 
-    // /a(b|c)(xx)?$/
-    fn raw_re() -> Pattern {
-        Pattern::Concat(vec![
-            Pattern::CharRange('a', 'a'),
-            Pattern::Submatch(Box::new(Pattern::Alternate(vec![
-                (Pattern::Char('b')),
-                (Pattern::Char('c')),
-            ]))),
-            Pattern::Submatch(Box::new(Pattern::Repeated(Box::new(
-                Repetition::ZeroOrOnce(Pattern::Str("xx".to_string())),
-            )))),
-            Pattern::Anchor(AnchorLocation::End),
-        ])
-    }
-
     #[test]
     fn test_match_simple() {
         let re = simple_re0();