mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd:Ⓜ️🆔 Relax user_id character grammar.
This commit is contained in:
parent
263596b584
commit
8385a63886
1 changed files with 8 additions and 1 deletions
|
@ -57,12 +57,19 @@ struct __attribute__((visibility("hidden"))) ircd::m::id::input
|
|||
};
|
||||
|
||||
// character of a non-historical user_id localpart
|
||||
const rule<> user_id_char
|
||||
const rule<> non_historical_user_id_char
|
||||
{
|
||||
char_('\x21', '\x39') | char_('\x3B', '\x7E')
|
||||
,"user_id character"
|
||||
};
|
||||
|
||||
// character of a non-historical'ish user_id localpart
|
||||
const rule<> user_id_char
|
||||
{
|
||||
char_('\x21', '\x39') | char_('\x3B', '\x7E') | char_('\x80', '\xFF')
|
||||
,"user_id character"
|
||||
};
|
||||
|
||||
// a user_id localpart is 1 or more user_id localpart characters
|
||||
const rule<> user_id_localpart
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue