diff --git a/src/parserutils.nim b/src/parserutils.nim
index 93fbaf1..4069c7c 100644
--- a/src/parserutils.nim
+++ b/src/parserutils.nim
@@ -6,7 +6,7 @@ const
unRegex = re"(^|[^A-z0-9-_./?])@([A-z0-9_]{1,15})"
unReplace = "$1@$2"
- htRegex = re"(^|[^A-z0-9-_./?])#([A-z0-9_]+)"
+ htRegex = re"(^|[^\w-_./?])#([\w_]+)"
htReplace = "$1#$2"
template isNull*(js: JsonNode): bool = js.kind == JNull