Be more specific in regexs to match .erb at the end of a string only.