This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Add assert
authorKarl Williamson <khw@cpan.org>
Tue, 28 Apr 2020 16:27:01 +0000 (10:27 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 29 Apr 2020 19:21:51 +0000 (13:21 -0600)
commita964bf354ede905cf62ebdd20fb08b8f6eaa137c
treed81974f380e1d2233ee5248e8ada10a98bf9784c
parent42fd8c63c3c0d56c51300f428529223f7a34d1d2
regcomp.c: Add assert

The code's proper functioning currently depends on bracketed character
classes not returning a sequence of characters to the regex sets feature
(?[...])

Add an assert to validate that.
regcomp.c