making it work for worker32-centos510 too

generalized regexp