Fix regex for tap output detection