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 131f8e7 commit ec2f2a8Copy full SHA for ec2f2a8
src/QRegex/NFA.nqp
@@ -44,6 +44,7 @@ class QRegex::NFA {
44
45
method regex_nfa($node, $from, $to) {
46
my $method := ($node.rxtype // 'concat');
47
+ nqp::say("got method $method");
48
self.HOW.can(self, $method)
49
?? self."$method"($node, $from, $to)
50
!! self.fate($node, $from, $to);
@@ -157,6 +158,10 @@ class QRegex::NFA {
157
158
self.fate($node, $from, $to)
159
}
160
161
+
162
+ method pastnode($node, $from, $to) {
163
+ self.addedge($from, $to, $EDGE_EPSILON, 0);
164
+ }
165
166
method past() {
167
return 0 unless $!edges;
0 commit comments