regexs are applied to strings