regcomp.c: Refactor looking for POSIX optimizations
authorKarl Williamson <khw@cpan.org>
Tue, 27 Nov 2018 18:59:03 +0000 (11:59 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 26 Dec 2018 19:50:38 +0000 (12:50 -0700)
commitddb2f1506d64f5966468a7d16db8d80608ab103e
tree11b068be2e9229a52fb403d313a1782d8aaaad63
parentc5d6a6ca99e382c5efe257bef87df4e1369cdc7e
regcomp.c: Refactor looking for POSIX optimizations

Instead of repeating the code, slightly modified, this uses a loop.
This is in preparation for a future commit where a third instance would
have been required
regcomp.c