fix build fail on jenkins server, don't use regex match