Fix regex to satisfy improvement security