Less noisy regex matching