diff --git a/royalnet_console/pda.py b/royalnet_console/pda.py index 993fda8b..534dd50a 100644 --- a/royalnet_console/pda.py +++ b/royalnet_console/pda.py @@ -81,9 +81,9 @@ class ConsolePDA: """ log.debug(f"Completing partial: {part!r}") if part.syntax: - command = part.complete(pattern=r"^!{name}\s+{syntax}$", names=names) + command = part.complete(pattern=r"^{name}\s+{syntax}$", names=names) else: - command = part.complete(pattern=r"^!{name}$", names=names) + command = part.complete(pattern=r"^{name}$", names=names) self.register_conversation(command) return command