Checking if expression starts with "#{" and ends with "}"