change TAP regexp