Same goes for constants - there should be no magic strings, numbers and regexps in the code for obvious reasons. This is a specialized version of a generic advice.