This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Replace a loop with strcspn()
authorKarl Williamson <khw@cpan.org>
Sat, 7 Dec 2019 23:08:15 +0000 (16:08 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 9 Dec 2019 22:32:49 +0000 (15:32 -0700)
commitc37687588b489d66c0093c09f5b6fe74c8772b4b
tree7bd42248c1a17bf5d47a3bb196d3992b04c48a88
parentd821b3b405f821ddbb82e38fa5bebf5c53658301
regcomp.c: Replace a loop with strcspn()

A later commit will add a terminating character for the span, so we use
this function instead of memchr.
regcomp.c