forked from cswimr/SeaCogs
fix(pterodactyl): regex consistency
This commit is contained in:
parent
3d7337c42c
commit
464483b4c9
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
### Chat
|
||||
|
||||
```re
|
||||
\[\d{2}:\d{2}:\d{2}\sINFO\]: (?!\[(?:Server|Rcon)\])(?:<|\[)(\w+)(?:>|\]) (.*)
|
||||
^\[\d{2}:\d{2}:\d{2}\sINFO\]: (?!\[(?:Server|Rcon)\])(?:<|\[)(\w+)(?:>|\]) (.*)
|
||||
```
|
||||
|
||||
### Join
|
||||
|
|
|
@ -10,7 +10,7 @@ def register_config(config_obj: Config) -> None:
|
|||
startup_jar=None,
|
||||
startup_arguments=None,
|
||||
current_status='',
|
||||
chat_regex=r"\[\d{2}:\d{2}:\d{2}\sINFO\]: (?!\[(?:Server|Rcon)\])(?:<|\[)(\w+)(?:>|\]) (.*)",
|
||||
chat_regex=r"^\[\d{2}:\d{2}:\d{2}\sINFO\]: (?!\[(?:Server|Rcon)\])(?:<|\[)(\w+)(?:>|\]) (.*)",
|
||||
server_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]:(?: \[Not Secure\])? \[(?:Server|Rcon)\] (.*)",
|
||||
join_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) joined the game$",
|
||||
leave_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) left the game$",
|
||||
|
|
Loading…
Reference in a new issue