in reply to Variables in regex pattern match give strange results.
use strict; use warnings; [download]
Yves / DeMerphq -- When to use Prototypes?