Skip to content

Commit

Permalink
Remove unused Ragel definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynetics committed Feb 1, 2023
1 parent 2f68d8a commit 5e89b0a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/regexp_parser/scanner/scanner.rl
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
one_or_more = '+' | '+?' | '++';

quantifier_greedy = '?' | '*' | '+';
quantifier_reluctant = '??' | '*?' | '+?';
quantifier_possessive = '?+' | '*+' | '++';
quantifier_mode = '?' | '+';

quantity_exact = (digit+);
quantity_minimum = (digit+) . ',';
Expand All @@ -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;
Expand Down

0 comments on commit 5e89b0a

Please sign in to comment.