s = "I am a string" if ismatch(r"string$", s) println("'$s' ends with 'string'") end