regex: simplify op_count_full error check
regex: simplify op_count_full error check

There was dummy loop with size limit for "performace" reasons,
but it triggered automatic checkers.  Remove complexity
by using strchr() there.

Reported-By: David Binderman

markokr/libusual,markokr/libusual,rabbitt/libusual,mgjv/libusual,mgjv/libusual,ifduyue/libusual,rabbitt/libusual,mgjv/libusual,markokr/libusual,ifduyue/libusual,mgjv/libusual,ifduyue/libusual,ifduyue/libusual,markokr/libusual,rabbitt/libusual,rabbitt/libusual