in reply to $1 not getting applied to reg ex

Please use <code> tags, so ppl can read your source.

Ordinary morality is for ordinary people. -- Aleister Crowley