We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad45f01 commit 0bbd9c1Copy full SHA for 0bbd9c1
src/QRegex/NFA.nqp
@@ -87,7 +87,7 @@ class QRegex::NFA {
87
$from := self.regex_nfa($node[$i], $from, -1);
88
$i := $i + 1;
89
}
90
- $from > 0 ?? self.regex_nfa($node[$i], $from, $to) !! $to;
+ $from > 0 && $n >= 0 ?? self.regex_nfa($node[$i], $from, $to) !! $to;
91
92
93
method enumcharlist($node, $from, $to) {
@@ -196,7 +196,6 @@ class QRegex::NFA {
196
@done[$st] := $gen;
197
for $!states[$st] -> $act, $arg, $to {
198
if $act == $EDGE_FATE {
199
- say("# crossing fate edge $arg at $offset");
200
@fatepos[$arg] := $offset;
201
202
elsif $act == $EDGE_EPSILON && @done[$to] != $gen {
0 commit comments