mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 09:42:57 +08:00
Change editor timestamp regex to not match non-editor ones
This commit is contained in:
parent
d3dba296d6
commit
8745fe9e34
@ -43,7 +43,7 @@ namespace osu.Game.Online.Chat
|
||||
RegexOptions.IgnoreCase);
|
||||
|
||||
// 00:00:000 (1,2,3) - test
|
||||
private static readonly Regex time_regex = new Regex(@"\d\d:\d\d:\d\d\d? [^-]*");
|
||||
private static readonly Regex time_regex = new Regex(@"\d\d:\d\d:\d\d\d? \((\d,?)+\)");
|
||||
|
||||
// #osu
|
||||
private static readonly Regex channel_regex = new Regex(@"(#[a-zA-Z]+[a-zA-Z0-9]+)");
|
||||
|
Loading…
Reference in New Issue
Block a user