update regex signature