switches from literal search to regex. also updated the time format.