This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add t/re/anyof.t
authorKarl Williamson <khw@cpan.org>
Mon, 11 Jul 2016 17:54:56 +0000 (11:54 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 16 Jul 2016 23:42:38 +0000 (17:42 -0600)
commit847612ec9ecf3874e383107fcfd457a8ba962672
tree7de63cf863116343c34977493a2910fcaee0fb4e
parentf6203e997f3012b8aab4cd35fe49f58e4d71fb8c
Add t/re/anyof.t

The ANYOF regnode is by far the most complicated to compile in regular
expression patterns.  This new test file makes sure that what gets
compiled doesn't get changed accidentally, nor how the compiled node is
dumped for human readable output.

I created tests for this from what changed in
b77aba85f6ec3b2a2341077b14f39261c5753cea
"Revamp -Dr handling of /[...]/", and from trying to exercise all
branches in it using gcov.

Making this test file showed some bugs, and infelicitous representations
from that commit, which will be fixed in the next few commits, and tests
added as each change is done.
MANIFEST
t/re/anyof.t [new file with mode: 0644]