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 e423c36 commit 768b20dCopy full SHA for 768b20d
src/QRegex/NFA.nqp
@@ -333,7 +333,8 @@ class QRegex::NFA {
333
my $indent := dentin();
334
my $subtype := $node.subtype;
335
note("$indent subrule $from -> $to {$node.name}") if $nfadeb;
336
- if $node.name eq 'before' && !$node.negate {
+ if $node.name eq 'before' && !$node.negate &&
337
+ nqp::istype((try $node[0][1].ann('orig_qast')), QAST::Regex) {
338
my int $end := self.addstate();
339
self.regex_nfa($node[0][1].ann('orig_qast'), $from, $end);
340
dentout(self.fate($node, $end, $to));
0 commit comments