Add tests for a backreference following a literal, which is a different codepath
authorYves Orton <demerphq@gmail.com>
Tue, 25 Jun 2013 22:59:09 +0000 (00:59 +0200)
committerYves Orton <demerphq@gmail.com>
Tue, 25 Jun 2013 23:01:22 +0000 (01:01 +0200)
commit31108f3ee208f24233c8e0552036baa0d75dfa81
tree40370a6368af56e42d8c36fa148da1a730465ddb
parentf1e1b256c5c1773d90e828cca6323c53fa23391b
Add tests for a backreference following a literal, which is a different codepath

/\87/ is parsed through a different code path than /foo\87/ so we
test that they both work properly when there are sufficient capture
buffers defined. We test the fail cases in the re/re_tests corpus,
but the success cases are easier managed in re/pat.t.
t/re/pat.t