From 5e89b0a011eec541e2f18e85b706b8b21ceb2465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janosch=20Mu=CC=88ller?= Date: Wed, 1 Feb 2023 21:41:49 +0100 Subject: [PATCH] Remove unused Ragel definitions --- lib/regexp_parser/scanner/scanner.rl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/regexp_parser/scanner/scanner.rl b/lib/regexp_parser/scanner/scanner.rl index 8cd2df5..266ca4c 100644 --- a/lib/regexp_parser/scanner/scanner.rl +++ b/lib/regexp_parser/scanner/scanner.rl @@ -59,9 +59,6 @@ one_or_more = '+' | '+?' | '++'; quantifier_greedy = '?' | '*' | '+'; - quantifier_reluctant = '??' | '*?' | '+?'; - quantifier_possessive = '?+' | '*+' | '++'; - quantifier_mode = '?' | '+'; quantity_exact = (digit+); quantity_minimum = (digit+) . ','; @@ -70,9 +67,6 @@ quantifier_interval = range_open . ( quantity_exact | quantity_minimum | quantity_maximum | quantity_range ) . range_close; - quantifiers = quantifier_greedy | quantifier_reluctant | - quantifier_possessive | quantifier_interval; - conditional = '(?('; group_comment = '?#' . [^)]* . group_close;