Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test empty captures in p5regex.
Includes a failing test for when one is at the start, which breaks
scanning.
  • Loading branch information
jnthn committed Sep 29, 2012
1 parent 9c348a6 commit e579e8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/p5regex/rx_captures
Expand Up @@ -2,6 +2,9 @@
(a.)..(..) zzzabcdefzzz <mob: abcdef @ 3> basic $0
(a.)..(..) zzzabcdefzzz <mob[0]: ab @ 3> basic $1
(a.)..(..) zzzabcdefzzz <mob[1]: ef @ 7> basic $2
d()ef zzzabcdefzzz y empty capture
# todo :pge<bug>
()ef zzzabcdefzzz y empty capture at start
(a(b(c))(d)) abcd y nested match
(a(b(c))(d)) abcd <mob: abcd @ 0> nested match
(a(b(c))(d)) abcd <mob[0]: abcd @ 0> nested match
Expand Down

0 comments on commit e579e8e

Please sign in to comment.