Add whitespace in tag match regex

This commit is contained in:
Inori 2023-07-30 06:39:19 +08:00
parent 35b4498026
commit a40444fa2f

View File

@ -139,7 +139,7 @@ inline const RegEx& URI() {
return e;
}
inline const RegEx& Tag() {
static const RegEx e = Word() | RegEx("#;/?:@&=+$_.~*'()", REGEX_OR) |
static const RegEx e = Word() | RegEx(" #;/?:@&=+$_.~*'()", REGEX_OR) |
(RegEx('%') + Hex() + Hex());
return e;
}