Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. lisa@linepi3:src:0$ ./cfgrep -p '^(a#2|(b|#1c))$' aa
  2. (0)─┬─^ (begin)
  3. ├─(1)─┬─either 1:0─┬─word "a"
  4. │ │ └─#2──(2)─┬─either 2:0───word "b"
  5. │ │ └─────or 2:1─┬─#1 (recursive call)
  6. │ │ └─word "c"
  7. │ └─────or 1:1───(2)─┬─either 2:0───word "b"
  8. │ └─────or 2:1─┬─#1 (recursive call)
  9. │ └─word "c"
  10. └─$ (end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement