You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-dev@jakarta.apache.org by Guoliang Cao <ca...@ispsoft.com> on 2000/10/13 19:04:37 UTC
A possible bug in RECompiler.
When I run REDemo and input "1{0,2}" or "1{1,2}" . the left screen
shows something
wrong.
I guess it's because there is a complete mechanism to handle {...},
meanwhile there is some other code add more node to represent them. To
make it correct, we have to filter out that part.
Is this right?
Thanks for your time.
1{1,2}
0 op-branch next=24
3 op-atom next=7 "1"
7 op-branch next=14
10 op-atom next=17 "1"
14 op-branch next = 17
17 op-nothing next=20 ---- should point to the op-end directly.
20 op-atom next=24 "1" ---- redundant, right?
24 op-end