in reply to Regex vs. string
" If the right argument is an expression rather than a search pattern, substitution, or transliteration, it is interpreted as a search pattern at run time."
-- regards piotr