Loosely matching rhymes for time-domain reflectometer