This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Replace loop by memchr()
authorKarl Williamson <khw@cpan.org>
Wed, 27 Dec 2017 01:13:36 +0000 (18:13 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 30 Dec 2017 17:41:59 +0000 (10:41 -0700)
commitf844b04230c9dbb5970369720a687afeea605cb3
treecd08e7751c272eaa3aaf9812286bc55cec2a3a2e
parentdce3f5c3fd788f1c2e451e3760f05a347c949eff
regexec.c: Replace loop by memchr()

This loop can be potentially very long as it is used to find the next
place there is a potential match in something like /(foo)+abc/.  (It's
trying to find the 'a' in that example.
regexec.c