From b44e413ccdec9f46c990582928f8fdd85bb96e3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Jun 2016 21:10:23 +0300 Subject: hercules: parse monster names with non ascii names. --- hercules/code/server/tmw/npcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py index 2d8abdb..32fb85b 100644 --- a/hercules/code/server/tmw/npcs.py +++ b/hercules/code/server/tmw/npcs.py @@ -46,7 +46,7 @@ warpRe3 = re.compile("^(?P[^/](.+)),([ ]*)(?P[\d]+),([ ]*)(?P[\d]+)[| "(?Pwarp)[|](?P[\d-]+),(?P[\d-]+),(?P[^/](.+)),([ ]*)(?P[\d]+),([ ]*)(?P[\d]+)$") monsterRe = re.compile("^(?P[^/](.+)),([ ]*)(?P[\d]+),([ ]*)(?P[\d]+),([ ]*)(?P[\d-]+),(?P[\d-]+)[|]" - "(?Pmonster)[|](?P[\w#' ]+)[|]" + "(?Pmonster)[|](?P[^|]+)[|]" "(?P[\d]+),(?P[\d]+),(?P[\d]+)ms,(?P[\d]+)ms(|,(?P