def execute(self):
        #tell target_name message
        syntax_error = 'Try "tell <person> <message>", or see "help tell" for help.'
        if not self.args:
            self.pc.update_output(syntax_error)
            return
        exp = r'(?P<target>.*?)[ ](?P<message>.*)'
        match = re.match(exp, self.args, re.I)
        if not match:
            self.pc.update_output(syntax_error)
            return
        target_name, message = match.group('target', 'message')
        # first, check to see if there is a character in the same room by that keyword
        # if we were only to check the world's list of people, we wouldn't be able to tell npcs
        # anything! However, let's be prudent and only try to tell npcs in the same room...
        if self.pc.location:
            r = self.pc.location
            # prioritize players over npcs, if there are two characters in the same room with the
            # same name. Players only have one keyword in their name, while npcs may have many
            target = r.get_player(target_name) or r.get_npc_by_kw(target_name)
            if target:
                self.tell_msg(target, message)
                return
        # There was nobody in that room who matched the name (or the player is in the void)
        pc = self.world.get_player(target_name)
        if not pc:
            self.pc.update_output(target_name % '"%s" doesn\'t exist. You\'ll have to tell someone else.')
        else:
            self.tell_msg(pc, message)
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Tell.execute/swapped operands of `%`