modify regex pattern