add match the end of string `$`