adding regex pattern