Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n selector missing in message (ie ban ban-ip kick me msg say teammsg) #303

Open
knirch opened this issue Dec 14, 2024 · 0 comments
Open

Comments

@knirch
Copy link

knirch commented Dec 14, 2024

diff --git a/mecha/parse.py b/mecha/parse.py
index 7d873c3..7d99a08 100644
--- a/mecha/parse.py
+++ b/mecha/parse.py
@@ -1953,7 +1953,7 @@ def parse_message(stream: TokenStream) -> AstMessage:
     with (
         stream.intercept("newline"),
         stream.syntax(
-            selector=r"@[praes]",
+            selector=r"@[praesn]",
             text=r"[^\n@]+",
         ),
     ):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant