in reply to constants within regular expression?
This node contains a similar discussion. You might find some of the info helpful...
use of constants in regex substitutions?