fix a bug of regexp