mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +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);
|
RegexOptions.IgnoreCase);
|
||||||
|
|
||||||
// 00:00:000 (1,2,3) - test
|
// 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
|
// #osu
|
||||||
private static readonly Regex channel_regex = new Regex(@"(#[a-zA-Z]+[a-zA-Z0-9]+)");
|
private static readonly Regex channel_regex = new Regex(@"(#[a-zA-Z]+[a-zA-Z0-9]+)");
|
||||||
|
Loading…
Reference in New Issue
Block a user