update regex extension