mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
Change word to improve meaning
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
b521797f4d
commit
9d898bdf47
@ -18,7 +18,7 @@ const additional = `[\\/#][^\\s]*${end}`;
|
||||
/*
|
||||
Similarly, a URL not containing path or fragment must
|
||||
also end with a character that is not space nor punctuation.
|
||||
However the ending character must also be ASCII.
|
||||
Additionally, the ending character must also be ASCII.
|
||||
*/
|
||||
const nonASCII = "\\u{80}-\\u{10ffff}";
|
||||
const endASCII = `[^\\s${nonASCII}.,?!]`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user