update regex content