add ^ in regex