regex: port to --with-included-regex --enable-gcc-warnings non-threaded