Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make NFA work with rxtype subcapture (= captures)
  • Loading branch information
diakopter committed Nov 18, 2011
1 parent 9dd7eab commit f5ad380
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/QRegex/NFA.nqp
Expand Up @@ -163,6 +163,10 @@ class QRegex::NFA {
method pastnode($node, $from, $to) {
self.addedge($from, $to, $EDGE_EPSILON, 0);
}

method subcapture($node, $from, $to) {
self.regex_nfa($node[0], $from, $to);
}

method past() {
return 0 unless $!edges;
Expand Down

0 comments on commit f5ad380

Please sign in to comment.