Matrix Patterns
This class contains pattern to match the different Matrix ids Ref: https://matrix.org/docs/spec/appendices#identifier-grammar
Functions
Link copied to clipboard
Link copied to clipboard
Extract server name from a matrix id.
Link copied to clipboard
Extract user name from a matrix id.
Link copied to clipboard
Return the domain form a userId. Examples:
Link copied to clipboard
Link copied to clipboard
Tells if a string is a valid room alias.
Link copied to clipboard
Orders which are not strings, or do not consist solely of ascii characters in the range \x20 (space) to \x7E (~), or consist of more than 50 characters, are forbidden and the field should be ignored if received.