Update bsd regex