PLD: use compiled regex