Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lisa@linepi3:src:0$ ./cfgrep -p '^(a#2|(b|#1c))$' aa
- (0)─┬─^ (begin)
- ├─(1)─┬─either 1:0─┬─word "a"
- │ │ └─#2──(2)─┬─either 2:0───word "b"
- │ │ └─────or 2:1─┬─#1 (recursive call)
- │ │ └─word "c"
- │ └─────or 1:1───(2)─┬─either 2:0───word "b"
- │ └─────or 2:1─┬─#1 (recursive call)
- │ └─word "c"
- └─$ (end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement